bugsnag-js
bugsnag-js copied to clipboard
Can't report error coming from Android(React Native) release build
Describe the bug
Reporting an error on debug mode is working as expected and we can find it on the Bugsnag dashboard, but not on the release build. It looks like sending bugs to bugsnag works but can't see those on bugsnag dashboard only in release mode.
Steps to reproduce
The following is the code block to notify an error
<Button
title="Report error to Bugsnag"
onPress={() => {
const estDate = new Date().toLocaleString('en-US', {
timeZone: 'America/New_York',
});
Bugsnag.notify(
new Error(
`Test error coming from ${ENVIRONMENT}: ${pkg.version} - ${estDate}`,
),
);
}}
/>
Environment
-
Bugsnag version: 7.25.1
-
React Native version: 0.72.6
-
Android Gralde version: 8.0.1
-
Device
- Android Emulator
- S22 Ultra