Expo and bare RN — same package. JS errors, native crashes from both iOS and Android, fetch/axios tracing, and React Navigation observers. Hermes-compatible source maps for clean stack traces.
1// In your App.tsx entrypoint2import JustAnalytics from "@justanalyticsapp/react-native";34JustAnalytics.init({5siteId: "YOUR_SITE_ID",6environment: "production",7});89export default function App() {10return <RootNavigator />;11}
Expo, bare RN, or hybrid — same npm package. One dashboard for JS + iOS + Android crashes.
ErrorUtils.setGlobalHandler catches every uncaught JS error. Native crashes flow through the iOS / Android crash handlers into the same dashboard.
Patches global fetch and axios at init. Every request becomes a span with URL, status, and timing — no per-call wiring.
React Navigation observer (v6/v7). Screen views feed into funnels, replay, and session timeline.
CLI uploads the .map alongside the bundle so minified JS stack traces resolve to original source files.
JSC and Hermes frame timing captured via UIManager hooks. Identifies which screens drop frames on which device classes.
Crash-free-session-rate, p95 startup, JS-vs-native error split per platform. Email, webhook, or PagerDuty.
npm install, init at the entry point, mount the Navigation observer. Done.
# Install (Expo: managed + dev-client)
npx expo install @justanalyticsapp/react-native
# bare RN
npm install @justanalyticsapp/react-native
cd ios && pod install
# App.tsx
import { NavigationContainer } from '@react-navigation/native';
import JustAnalytics, { JANavigationObserver } from '@justanalyticsapp/react-native';
JustAnalytics.init({
siteId: process.env.EXPO_PUBLIC_JA_SITE_ID,
environment: __DEV__ ? 'development' : 'production',
captureNetwork: true,
captureCrashes: true,
});
export default function App() {
return (
<NavigationContainer
onStateChange={JANavigationObserver.onStateChange}
onReady={JANavigationObserver.onReady}
>
<RootStack />
</NavigationContainer>
);
}Replace five tools with one platform. Start with the free tier or try Pro free for 7 days.
Start 7-Day Free Trial