rollbar-react-native
rollbar-react-native copied to clipboard
Android App Crashes
I am getting app crashes while in App.js, instantiating a Rollbar Client
Steps to reproduce "react": "18.2.0", "react-native": "0.71.4", "rollbar": "^2.26.2", "rollbar-react-native": "^1.0.0-beta.2"
Platforms Android
JavaScript runtime Hermes
Workflow React Native (without Expo)
Build type Release mode
Device Real device
import { Client } from 'rollbar-react-native'
const rollbar = new Client({
accessToken: "POST_CLIENT_ITEM_ACCESS_TOKEN",
captureUncaught: true,
captureUnhandledRejections: true
})
@suryapermana92work thank you for the report. Can you include details of the crash?
@suryapermana92work thank you for the report. Can you include details of the crash?
@waltjones pls let me know if you need any more info
Hi, I'm also facing similar issue.. I've used the rollbar react-native SDK but also the react SDK and both are failing. The app crashes when trying to send any info to Rollbar.
It works fine on Expo Go, Android Simulator and also web version, but crashes on Android real device.