
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@debugbundle/sdk-react-native
Advanced tools
React Native SDK for DebugBundle mobile apps.
This package targets iOS and Android React Native apps. It is a mobile direct-ingestion SDK, not a browser relay host: it does not provide CORS, allowedOrigins, transportMode, or /debugbundle/browser helpers.
Published implementation:
fetch and XMLHttpRequest instrumentation with target-scoped X-DebugBundle-Trace-Id.| Lane | Support |
|---|---|
| Minimum compatibility | React Native 0.76+, React 18.2+, iOS 15+, Android minSdk 23 |
| Recommended production | Current stable React Native 0.85.x with Hermes and the New Architecture enabled where your app supports it |
| Installed-base compatibility | React Native 0.76 through current stable, including legacy bridge apps |
| Rolling CI | TypeScript/package smoke, Android bridge compile on RN 0.76.9, 0.82.1, and 0.85.3, plus current-stable Android and iOS clean-app smokes |
| Expo | Expo development builds and prebuild; Expo Go is degraded because it cannot load custom native modules |
JSC compatibility is best-effort where the selected React Native lane still supports it. Hermes is the primary tested JavaScript engine.
npm install @debugbundle/sdk-react-native
cd ios && pod install
iOS autolinking resolves the DebugBundleReactNative.podspec, which depends on the native DebugBundle pod from the Swift SDK.
Android apps must enable core library desugaring because the native Android SDK uses Java APIs that require desugaring on the SDK's minimum API level:
android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
coreLibraryDesugaringEnabled true
}
}
dependencies {
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.5")
}
The Expo config plugin applies this Android Gradle configuration during prebuild.
import { DebugBundle } from "@debugbundle/sdk-react-native";
DebugBundle.init({
projectToken: process.env.EXPO_PUBLIC_DEBUGBUNDLE_TOKEN,
service: "checkout-mobile",
environment: __DEV__ ? "development" : "production",
releaseChannel: "app-store",
tracePropagationTargets: ["https://api.example.com"]
});
Project tokens are write-only mobile ingestion tokens, but they are still extractable from the app binary and JS bundle. Do not treat them as a secret boundary.
import { instrumentDebugBundleNetwork } from "@debugbundle/sdk-react-native/network";
instrumentDebugBundleNetwork({
tracePropagationTargets: ["https://api.example.com"]
});
Trace headers are added only to relative URLs or configured first-party targets. Request and response bodies are not captured by default.
import { DebugBundleErrorBoundary } from "@debugbundle/sdk-react-native/react";
export function App() {
return (
<DebugBundleErrorBoundary>
<CheckoutRoot />
</DebugBundleErrorBoundary>
);
}
import { NavigationContainer } from "@react-navigation/native";
import {
createDebugBundleNavigationRef,
onDebugBundleNavigationReady,
onDebugBundleNavigationStateChange
} from "@debugbundle/sdk-react-native/navigation";
export const navigationRef = createDebugBundleNavigationRef();
export function AppNavigation() {
return (
<NavigationContainer
ref={navigationRef}
onReady={() => onDebugBundleNavigationReady(navigationRef)}
onStateChange={() => onDebugBundleNavigationStateChange(navigationRef)}
>
{/* navigators */}
</NavigationContainer>
);
}
Expo development builds and prebuild are supported through the config plugin. Expo Go cannot load the native module, so the SDK reports degraded status and does not claim durable native queueing, native crash evidence, native device context, or remote-probe parity.
The package publishes to npm from v* tags through GitHub Actions. Configure the repository secret NPM_TOKEN, make sure the tag matches package.json exactly, for example v1.0.0, and push the tag after the native Swift DebugBundle pod version referenced by DebugBundleReactNative.podspec is available to CocoaPods consumers.
FAQs
React Native SDK for DebugBundle mobile event capture.
The npm package @debugbundle/sdk-react-native receives a total of 20 weekly downloads. As such, @debugbundle/sdk-react-native popularity was classified as not popular.
We found that @debugbundle/sdk-react-native demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.