rollbar-react-native icon indicating copy to clipboard operation
rollbar-react-native copied to clipboard

Android App Crashes

Open suryapermana92work opened this issue 1 year ago • 4 comments

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 avatar Jan 17 '24 15:01 suryapermana92work

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

waltjones avatar Jan 17 '24 15:01 waltjones

Screenshot_1705505587

suryapermana92work avatar Jan 17 '24 15:01 suryapermana92work

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

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

suryapermana92work avatar Jan 17 '24 18:01 suryapermana92work

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

gsonego avatar Feb 10 '24 09:02 gsonego