Integrate an SDK

Feature matrix

Documented releases (30 November 2026): Flutter 0.4.2; iOS 0.4.2; Android 0.4.1; web 0.4.0. Use it to decide which hooks a platform needs before you promise a bug will replay.

tested implemented and covered by automated tests or the recorded end-to-end run · implemented implemented, not tested here · partial works with a documented limitation · no not implemented or planned.

i

The table below retains the 21 October scenario results. On 23 October, all four runtimes also passed two-attempt replay, broken/fixed verification and regression pass/fail checks (Flutter and Android on API 35; iOS on an iOS 27 simulator; web on Chromium). Native captures in that run were uploaded with the CLI. Qualification on your target physical devices and OS versions, app-specific overhead, iOS 15 runtime coverage, source-pinned replay and real native debug-file symbolication remain adoption checks. Later selected physical iPhone drills do not extend this scenario table to every device or app. See validation scope.

Capture

FeatureFlutterAndroidiOSWeb
Bounded flight recorder (20k events / 5 min, launch + periodic checkpoints)testedtestedtestedtested
Manual capture (capture)testedtestedtestedtested
Automatic capture: uncaught errorstested (FlutterError.onError, PlatformDispatcher.onError)tested (JVM uncaught, chained handler)partial (NSException via chained handler; Swift traps/signals not captured)tested (error, unhandledrejection)
Crash capsule persisted, uploaded next launchn/a (Dart errors do not end the process)testedtestedn/a (errors do not end the page)
Assertions check / fail, reportErrortestedtestedtestedtested
Pointer capturetestedtested (Window.Callback, dp)tested (explicit BugCapsuleWindow / recordTouches)tested (Pointer Events, target descriptor)
Semantic actionstestedtested (Views + Compose)tested (UIKit + SwiftUI)tested (core + React)
Tracked text, sensitive fieldstestedtested (password input types forced)tested (isSecureTextEntry forced)tested (password inputs, data-bugcapsule-sensitive)
Key events—tested (Back, key event)—— (tracked inputs only)
Navigationtested (GoRouter)tested (Jetpack Navigation)tested (UINavigationController proxy, explicit, SwiftUI)tested (History API; React Router listener)
Lifecycletestedtestedtestedtested (visibility, pagehide/pageshow)
Statetested (BLoC, Riverpod, Provider, GetX, MobX)tested (registered serializers, ViewModels)tested (registered state objects)tested (registered serializers, React hook)
Storage checkpoints (allowlisted)tested (SharedPreferences)tested (SharedPreferences, Preferences DataStore)tested (UserDefaults)tested (localStorage, sessionStorage); implemented (IndexedDB adapters: unit-level only)
HTTP capturetested (Dio, package:http)tested (OkHttp; Retrofit through it)tested (URLSession via URLProtocol); implemented (Alamofire through an instrumented configuration, documented, not tested)tested (fetch, XMLHttpRequest)
Bounded body capture, streams untouchedtestedtestedtestedtested (clone() read up to the limit)
In-flight requests at capture (http.pending)—testedtested—
Redaction before persistence (shared conformance fixtures)testedtestedtestedtested
Remote config, kill switch, samplingtestedtestedtestedtested
SDK token setup (bcsdk.v1) and status APIimplemented (shared token test vectors)implemented (shared token test vectors)implemented (shared token test vectors)implemented (shared token test vectors)
Refused SDK token or ingest keystops capture, purges queuestops capture, keeps queuestops capturestops capture, purges queue
Offline outbox (10 / 10 MiB / 7 days, backoff, Retry-After)testedtestedtestedtested (IndexedDB, cross-tab safe)
Runtime + capability metadata in capsulestestedtestedtestedtested

Replay

FeatureFlutterAndroidiOSWeb
Runs the real app codetestedtested (instrumentation, in-process engine)tested (XCUITest launches the app, in-app engine)tested (Playwright, in-page engine)
Pointer replaytestedtested (sendPointerSync)— (input.pointer.replay: unsupported, material pointer.unsupported)tested (trusted Playwright input; mismatch/ambiguity reported)
Semantic action replaytestedtestedtestedtested
Tracked text replaytestedtestedtestedtested
Lifecycle replaytestedtested (ActivityScenario states)partial (posted notifications)partial (synthetic visibility events)
Checkpoint restoration before app codetestedtested (runner onCreate, before Application.onCreate)tested (in BugCapsule.start())tested (init script + init())
Late / failed restoration reportedtestedtestedtestedtested
Deterministic network replay (key + occurrence, latency, errors, cancel)testedtestedtestedtested (fetch + XHR)
Strict network (unrecorded never reaches real services)testedtestedtestedtested (+ runner blocks escaped requests)
Idle compressiontestedtestedtestedtested
Clock / random hooks (explicit only)testedtestedtestedtested
Production replay protectiontested (release builds)tested (androidTest runner + debuggable)tested (#if DEBUG + launch argument)tested (allowReplay + runner bindings)
Attempt isolationrelaunchpm clearuninstallfresh browser context
Physical devicespartial (iOS needs --lan)implemented (adb device path, not tested)— (simulator only; signing/devicectl planned)n/a
Browsersn/an/an/atested Chromium; tested capture in Playwright Firefox/WebKit (not certification of every Safari release); no replay elsewhere
Cross-runtime replay———— (CLI reports INCOMPATIBLE)

Interaction dependencies

i

Available in the current stable releases. These rows describe Flutter 0.4.2, Android 0.4.1, iOS 0.4.2 and web 0.4.0. Capsules that use them are capsule spec v2; update the CLI before you enable them.

FeatureFlutterAndroidiOSWeb
Capsule spec v2 reader (v1 + v2), v2 written only with interaction dependenciestestedtestedtestedtested
WebSocketstested (BugCapsuleWebSocket: web_socket_channel, dart:io)tested (OkHttp WebSocket.Factory wrapper)tested (BugCapsuleWebSocket URLSessionWebSocketTask wrapper)tested (browser WebSocket, page realm)
Platform channels (Method, Event, BasicMessage; standard/JSON codecs)tested (allowlisted; binding wraps the default messenger)n/an/an/a
Native SDK adapters (adapter API + conformance kit)tested (NativeAdapter); partial adapters bundled in bug_capsule since 0.4.1-beta.12: Firebase Auth/Firestore and geolocator recorded on the iOS Simulator; Google Maps and Stripe tested against fakes onlytested (API + example adapter)tested (API + example adapter)—
Replay preflight for required dependencies, offline-only interaction replaytestedtestedtestedtested

CLI and project

FeatureFlutterAndroidiOSWeb
inspect / run / verify / regress add / regress runtestedtestedtestedtested
Source-revision replay (git worktree pin)testedimplemented (generic; E2E used a scratch git copy)implemented (generic; not exercised)tested (scratch git copy: pinned REPRODUCED, working tree FIXED)
Prebuilt artifacts—implemented (--apk, --test-apk)implemented (--xctestrun)tested (--app-url)
Per-attempt token, attemptId, stale-report rejection, Origin refusaltestedtestedtestedtested
Timeouts, Ctrl-C cleanuptestedtestedtestedtested
Upload, run results, triage, sharingtestedtestedtestedtested (CORS)
Filter capsules by platformtestedtestedtestedtested

Recorded end-to-end results (this session)

StepAndroid (Pixel_6_2, API 35)iOS (iPhone 18 Pro sim, iOS 27)Web (Chromium 153)
Capture + uploadrace crash, null price, legacy cart, couponcoupon assertion, race NSException, legacy cartrace, legacy cart, discontinued item, coupon
runREPRODUCED 3/3 (independent re-run 2/2)REPRODUCED 3/3REPRODUCED 3/3
verify without fixSTILL FAILING 3/3STILL FAILING 3/3STILL FAILING 3/3
verify with isolated fixFIXED 3/3 (independent re-run 2/2)FIXED 3/3FIXED 3/3
Restoration control (checkpoint removed)—NOT REPRODUCED 0/1NOT REPRODUCED 0/2
regress runfail without fix, pass with fixfail without fix, pass with fixfail without fix, pass with fix
Offline capture → restart → uploadtested (airplane mode)tested (BugCapsule unreachable)tested (blocked uploads, reload)

Shared verdict behaviour in all runtimes: a fix that makes the app send requests the recording never saw yields INCONCLUSIVE, never FIXED (strict network). This was observed for the web discontinued-item fix and the Android null-price and legacy-cache fixes.

Which hooks each platform needs most

PlatformDon't skip
FlutterSerializers for BLoC/Riverpod state you want restored from periodic checkpoints; clock.now().
AndroidOkHttp interceptor last; storage allowlists; sensitive = true for Compose password fields.
iOSSemantic actions for every important tap (no pointer replay); BugCapsuleURLSession in integrations; check before code that traps.
Webmode: 'qa' in QA builds; data-bugcapsule-action on clickable elements; your origin allowed by your BugCapsule team; allowReplay only in test builds.

Monitoring capabilities

SignalFlutterAndroidiOSWeb
Errors, user context, breadcrumbs, sessions, tracing, feedbackImplementedImplementedImplementedImplemented
Native crash eventsNeeds native SDKsOptional NDK module; ANR monitoringSignal/Mach crash writerNot applicable
Release debug filesAOT symbols, obfuscation mapR8/ProGuard mapping; native symbol support has validation gatesdSYM upload; native E2E validation pendingSource maps and debug IDs

These signals are separate from capsule replay eligibility. See Monitoring and Release symbols for configuration and validation limits.

Recovery

FeatureFlutterAndroidiOSWeb
Emergency feature guardsPublished in 0.4.1Published in 0.4.1Published in 0.4.1No browser guard; server-side @bugcapsule/emergency-guard is published on npm as 0.4.0
Signed patchesAvailable: registered logic, surfaces and assets; Android JNI and iOS runtime includedAvailable: registered logic, Compose surfaces and assets; Maven 0.4.1Available: registered logic, SwiftUI surfaces and assets; SwiftPM 0.4.2Not applicable

Signed patch availability is separate from device qualification. See the crash recovery validation scope before selecting rollout targets. Web and desktop patch runtimes are not covered by this feature.