-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React native: No Bugsnag API Key set, js engine: hermes #998
Comments
Hi @v3solutions - are you able to share more about your reproduction case with us? We are currently unable to reproduce what you are seeing. We can create a Hermes application for Android and successfully send errors to Bugsnag in release mode. Perhaps you could write into [email protected] with full code snippets of how you are configuring and initialising Bugsnag for your application? |
@v3solutions we have been able to reproduce a similar issue, which is possibly related to the use of minifyEnabled / proguard for release builds. We are still investigating but would be interested to know if your issue only happens during release builds (e.g. --variant=release) and whether you are using minifyEnabled? |
@steve-nester-uk sorry for a delay. I'm using minifyEnabled, it does work as a debug. Seems only release build has this issue. If I comment out
it works too. |
Hi, I recently upgraded React Native to 0.63.2 and Bugsnag to latest version and I started to receiving the "No Bugsnag API Key set" error in Android. As suggested by @steve-nester-uk disabling |
@tobiasbu - thanks for the info. Yes, we can confirm the bug can affect projects whether or not they use Hermes. We're working on the fix. |
This has now been fixed and released in v7.3.4 |
Hi,
Since upgrading bugsnag to latest version, can't make it work on adroid. Crashes on opening, however it does send a crash report to my bugsnag account. Bugsnag error: "No Bugsnag API Key set, js engine: hermes". It works no problem with ios.
Api key is set inside AndroidManifest.xml. I've tried inside App.js with and without apiKey:
"react-native": "0.63.2"
"@bugsnag/react-native": "^7.3.1"
using with hermes.
The text was updated successfully, but these errors were encountered: