Skip to content
Platforms and SDKs

Every app you ship.
One bug report.

React Native, Flutter, the web, native iOS, native Android and C each get an SDK built for that platform. They all send the same report, so your portal, your GitHub issues and your coding agent never need to know where a bug came from.

React Native & Expo Flutter Web iOS (Swift) Android (Kotlin) C (desktop)
Runs on iOS and Android, inside Expo Go iOS and Android Any browser page or web app iOS 15+, SwiftUI and UIKit Android 8.0+, views and activities macOS and Linux desktop apps, games and tools
Open the reporter Shake or bug button Bug button ⌘⇧B / Ctrl+Shift+B or bug button Shake or bug button Shake or bug button Your app’s own “Report a bug”
Screenshot markup Pen, arrow, box, text, hide, move Pen, arrow, box, text, hide Pen, arrow, box, text, hide, move Pen, arrow, box, text, hide Pen, arrow, box, text, hide Your app’s UI (hide boxes supported)
Voice notes Yes Not yet Yes Yes Yes Attach a recording
Logs, errors, last 30 s Yes Yes Yes Yes Yes Yes, through bt_log / bt_error
Network calls recorded fetch and XHR Log them yourself fetch and XHR URLSession OkHttp Log them yourself
Private fields hidden <BugTrugMask> BtMask data-bt-mask, all password fields .btMasked() BugTrug.mask(view) Hidden screens never send the original
Offline queue On the phone On disk, survives restarts IndexedDB, survives reloads On disk, survives a kill On disk, survives a kill On disk, survives restarts
My reports and test plans Yes Yes Yes Yes Yes Yes, through the API
Likely file for your agent Expo Router, React Navigation Named routes → lib/ screens Next.js, pages, src/routes SwiftUI views, view controllers Activities, fragments, Compose routes Screen and scene names
Conformance L4 L4 L4 L4 L4 L4
React Native & Expo

The only bug reporter that runs in Expo Go.

Install it with Expo and shake. No development build, no config plugin, no native code. The bug button even works over full-screen modals.

  • Expo Go, development builds and store builds
  • Expo Router and React Navigation screens named automatically
  • Turn it off for production with enabled: false
# Expo picks versions that match your SDK
npx expo install @bugtrug/react-native

<BugTrugProvider
  config={{ projectKey: 'bt_pk_…',
            apiUrl: 'https://…' }}>
  <Stack />
</BugTrugProvider>

The reference SDK. Checked on iPhone; Android testing is in progress.

Web

Bug reports for your website and web app.

Add one package to staging, a preview deploy or your live site. Testers press ⌘⇧B, mark up the page they are looking at and talk you through it.

  • 36 KB gzip up front; the screenshot library loads only when someone reports
  • UI in a Shadow DOM, so your CSS and its CSS never collide
  • Routes like /product/42 point your agent at app/product/[id]/page.tsx
  • React wrapper included: @bugtrug/web/react
npm i @bugtrug/web

import { BugTrug } from '@bugtrug/web';

BugTrug.init({
  projectKey: 'bt_pk_…',
  apiUrl: 'https://…',
});

Checked in Chrome. Firefox, Safari and phone browsers are being tested.

iOS (Swift)

Native iOS, without the swizzling.

A Swift package for SwiftUI and UIKit apps. The bug button lives in its own window, so it sits above every sheet and full-screen cover.

  • Network calls recorded with a URLProtocol, not method swizzling
  • Tester token kept in the Keychain; reports queued on disk
  • Masks follow fields even mid-animation
  • Name screens with .btScreen("Checkout")
import BugTrug

@main
struct ShopApp: App {
  init() {
    BugTrug.start(BugTrugConfig(
      projectKey: "bt_pk_…",
      apiUrl: "https://…"))
  }
  ...
}

Swift Package Manager, iOS 15+. Checked in the iOS simulator.

Flutter

One bug button for every Flutter route.

Add a builder and a route observer to your MaterialApp. The bug button floats above every screen, and the SDK’s own screens open on their own navigator so they never disturb yours.

  • Screen names from your named routes, mapped to files under lib/
  • Flutter framework errors recorded automatically
  • Wrap private widgets in BtMask; they are blacked out before the tester sees the screenshot
  • One dependency: path_provider
await BugTrug.start(const BugTrugConfig(
  projectKey: 'bt_pk_…',
  apiUrl: 'https://…',
));
runApp(MaterialApp(
  builder: BugTrug.builder,
  navigatorObservers: [BugTrug.observer],
  ...
));

Checked on the Android emulator. Voice notes, shake and automatic network capture are not in this version.

Android (Kotlin)

Native Android, one line to start.

Start it in your Application class. Every activity gets a draggable bug button and shake-to-report, and screens are named for you.

  • Screenshots with PixelCopy, masks measured where views really are
  • Network calls recorded through an OkHttp interceptor
  • Draws clear of the status and navigation bars on edge-to-edge Android 15+
  • Activities, fragments and Compose routes mapped to the likely .kt file
class ShopApp : Application() {
  override fun onCreate() {
    super.onCreate()
    BugTrug.start(this, BugTrugConfig(
      projectKey = "bt_pk_…",
      apiUrl = "https://…"))
  }
}

Android 8.0+ (API 26). Checked on the Android 16 emulator.

C (desktop and games)

Bug reports from desktop apps and games.

A small C11 library with no UI of its own. Your app already has menus and a renderer, so it takes the screenshot and asks for the description; the library does everything after that.

  • Redaction with the same shared rules as every other SDK, before anything leaves the process
  • Upload protocol, retries and an offline queue on disk
  • Tester identity, My reports and test plans through the API
  • Every function accepts a NULL client, so a failed start never crashes your app
bt_client *bt = bt_start(&config);
bt_set_screen(bt, "MainMenu", "scene");
bt_log(bt, "info", "Loaded save slot 2");

bt_report *r = bt_report_new(bt);
bt_report_set_description(r, "Jump does nothing");
bt_report_add_screen(r, "MainMenu", "/tmp/shot.png",
                     1920, 1080, NULL, NULL, 0);
bt_submit(bt, r, id);

macOS and Linux; needs libcurl and PCRE2. Windows, a sample app and network capture are not in this version.

Open protocol

Proven, not promised.

Every SDK speaks one documented protocol, with JSON Schemas, an OpenAPI file and test vectors. A public conformance kit runs 14 checks against a mock server that fails on purpose, and an SDK only claims a level when every check up to it passes.

L0sends a report
L1context and an offline queue that survives a kill
L2screenshot, markup and voice
L3–L4tester replies, then guided test plans

All six SDKs pass level 4. Building for another platform? Start from the SDK template and run the kit in your CI.

One inbox for every platform.

Add BugTrug to your app or site today. It’s free while we’re in early access.

Start free