diff --git a/docs/design/2026-09-15-sdk-design.md b/docs/design/2026-09-15-sdk-design.md index 9589bdae..a4c35848 100644 --- a/docs/design/2026-09-15-sdk-design.md +++ b/docs/design/2026-09-15-sdk-design.md @@ -14,7 +14,7 @@ The single most important finding behind this design: **iOS 7.x and Android 7.x ## 2. Goals -- Ship a 7.x-native React Native SDK for the two current native lines: Android **7.6.0** (7.3.0 first, pinned transitionally as `7.3.0-SNAPSHOT` while that release was pending — see the plan's Phase 3 rulings; 7.3.1 fixes bugsee-android #214–#221 found by the beta campaign; beta validation pinned `7.3.2-SNAPSHOT` (bugsee-android main plus PR #265), released as 7.4.0; 7.4.1 adds the touch-capture fix for bugsee-android #267; 7.4.2 adds the lifecycle and secure-rectangle work the beta campaign ran against; 7.6.0 turns the shake and notification-bar triggers off by default and registers the shared `crash-signals` option, which iOS 7.1.0 also takes, with its own shake trigger off) and iOS **7.1.0** (SPM only, iOS deployment target 15.0). +- Ship a 7.x-native React Native SDK for the two current native lines: Android **7.6.0** (7.3.0 first, pinned transitionally as `7.3.0-SNAPSHOT` while that release was pending — see the plan's Phase 3 rulings; 7.3.1 fixes bugsee-android #214–#221 found by the beta campaign; beta validation pinned `7.3.2-SNAPSHOT` (bugsee-android main plus PR #265), released as 7.4.0; 7.4.1 adds the touch-capture fix for bugsee-android #267; 7.4.2 adds the lifecycle and secure-rectangle work the beta campaign ran against; 7.6.0 turns the shake and notification-bar triggers off by default, and iOS 7.1.0 turns shake off too; the NDK `crash-signals` option, which Android added in 7.5.0, is shared with iOS) and iOS **7.1.0** (SPM only, iOS deployment target 15.0). - Expose the capabilities 7.x added and 6.x never had: breadcrumbs, notification relay, APM, user identity, hang/HTTP-error/frustration/anomaly detection, SDK status, report handlers. - Make the wrapper's option surface **provably** consistent with the native SDKs, enforced in CI rather than by review. - Work on bare React Native and on Expo, including Expo apps that regenerate native projects with `prebuild`. diff --git a/docs/launch-options.md b/docs/launch-options.md index 6f5fc2ec..350278c8 100644 --- a/docs/launch-options.md +++ b/docs/launch-options.md @@ -70,7 +70,7 @@ iOS, does nothing on Android, and reports nothing on either. `launch()` and `rel | `captureBreadcrumbsExtras` | `com.bugsee.option.capture.breadcrumbs.extras` | `boolean` | iOS, Android | `false` | Attach the extra detail of automatically collected device-event breadcrumbs. | | `captureCameraPreview` | `com.bugsee.option.capture.camera-preview` | `boolean` | iOS | `false` | Capture camera preview layers. Read the iOS SDK's privacy and overhead notes before enabling. | | `crashHandlerType` | `com.bugsee.option.capture.crash-handler-type` | `enum BugseeCrashHandlerType` | iOS | `MachAndBSD` | How the crash reporter intercepts crashes; see `CrashHandlerType`. Unset leaves the SDK default, `CrashHandlerType.MachAndBSD`. | -| `crashSignals` | `com.bugsee.option.capture.crash-signals` | `int` | iOS, Android | `128` | The fatal signals the native crash handler intercepts, as a bit set: ABRT 1, SEGV 2, BUS 4, ILL 8, FPE 16, TRAP 32 (the same layout on both platforms). Unset leaves the SDK default, 128 (the "let the SDK choose" bit, which resolves to every signal; it counts only on its own). Leave SEGV and BUS out when the app hosts a Mono runtime. On Android it is read once, when the native handler is first armed in the process. iOS 7.0.0-beta7, Android 7.6.0. | +| `crashSignals` | `com.bugsee.option.capture.crash-signals` | `int` | iOS, Android | `128` | The fatal signals the native crash handler intercepts, as a bit set: ABRT 1, SEGV 2, BUS 4, ILL 8, FPE 16, TRAP 32 (the same layout on both platforms). Unset leaves the SDK default, 128 (the "let the SDK choose" bit, which resolves to every signal; it counts only on its own). Leave SEGV and BUS out when the app hosts a Mono runtime. On Android it is read once, when the native handler is first armed in the process. iOS 7.0.0-beta7, Android 7.5.0. | | `captureDeviceAndNetworkNames` | `com.bugsee.option.capture.device-network-names` | `boolean` | iOS | `false` | Record the device and network names. | | `captureDiskSpace` | `com.bugsee.option.capture.disk-space` | `boolean` | iOS | `false` | Record free disk space. | | `captureLogs` | `com.bugsee.option.capture.logs` | `boolean` | iOS, Android | `true` | Capture logs. Lines sent with `Bugsee.log()` are always recorded. | diff --git a/docs/release-notes.md b/docs/release-notes.md index abdfe5b3..c17b1f73 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -21,7 +21,6 @@ plugin declares by default and what the README tells bare apps to apply. block. - Uploads honour the JVM proxy settings, secrets such as the app token stay out of build logs, and the plugin falls back to an installed `bugsee-cli` when the download fails. -- Native crash capture keeps working when the Bugsee SDK is declared in another module. If you pin the plugin yourself, use 4.1.1: `id 'com.bugsee.android.gradle' version '4.1.1' apply false`. @@ -50,7 +49,6 @@ Launch options were synchronized from the option manifests the two SDKs publishe Native SDKs and options - Adopt iOS SDK 7.0.0 (#182), then 7.1.0, and Android SDK 7.6.0 (#194). - A typed accessor for every option either SDK registers (#189). -- iOS imports the wrapper contract from `Bugsee.SPI` (#178). Reporting and capture - Exceptions: `ErrorBoundary` honours `detect.crash`, and a crash after a handled report is kept (#156). @@ -64,8 +62,7 @@ Reporting and capture Filters and privacy - Log, network and breadcrumb filters fail closed on a 9 s deadline (iOS log/network/breadcrumb, Android breadcrumb) (#160), and after a JS reload until the new runtime installs its filter (#161). -- Auto-launch: `attach()` registers the wrapper identity, with an opt-in fail-closed filter hold at - process start (#162). +- Auto-launch: an opt-in fail-closed filter hold at process start (#162). - Breadcrumbs: an opt-in URL scrubber for http crumbs (#164). - Network filter scope and per-platform built-in redaction are documented (#159). diff --git a/packages/react-native/src/options/BugseeLaunchOptions.ts b/packages/react-native/src/options/BugseeLaunchOptions.ts index b3bb4446..a907d0ff 100644 --- a/packages/react-native/src/options/BugseeLaunchOptions.ts +++ b/packages/react-native/src/options/BugseeLaunchOptions.ts @@ -295,7 +295,7 @@ export abstract class BugseeLaunchOptions { * default, 128 (the "let the SDK choose" bit, which resolves to every signal; it counts only on * its own). Leave SEGV and BUS out when the app hosts a Mono runtime. On Android * it is read once, when the native handler is first armed in the process. iOS 7.0.0-beta7, - * Android 7.6.0. + * Android 7.5.0. */ get crashSignals(): number | undefined { return this.$get('com.bugsee.option.capture.crash-signals');