rollbar / rollbar-react-native

Crash and error reporting for React Native using Rollbar
https://docs.rollbar.com/docs/react-native
62 stars 37 forks source link

Android App Crashes #187

Open suryapermana92work opened 8 months ago

suryapermana92work commented 8 months ago

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
})
waltjones commented 8 months ago

@suryapermana92work thank you for the report. Can you include details of the crash?

suryapermana92work commented 8 months ago

Screenshot_1705505587

suryapermana92work commented 8 months ago

@suryapermana92work thank you for the report. Can you include details of the crash?

@waltjones pls let me know if you need any more info

gsonego commented 7 months ago

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.

image