I am trying to integrate bugsnag to my react native application. The app builds successfully but when the app loads on a simulator or emulator it throws an exception
Bugsnag: No native client found. Is BugsnagReactNative installed in your native code project?Client<unknown> global.js:4:27loadModuleImplementation require.js:331:6<unknown> index.android.js:9loadModuleImplementation require.js:331:6guardedLoadModule require.js:197:45global code
I have updated my AndroidManifest.xml, MainApplication.java, Info.plist, build.gradle to include the api-key and bugsnag-react-native was successful too.
my package.json versions look like
"react": "16.8.3","react-native": "0.59.10","bugsnag-react-native": "^2.23.2",
AndroidManifest.xml
<meta-data android:name="com.bugsnag.android.API_KEY" android:value="API KEY"/>
MainApplication.java
@Override public void onCreate() { super.onCreate(); BugsnagReactNative.start(this); SoLoader.init(this, /* native exopackage */ false); }
info.plist
<key>BugsnagAPIKey</key><string>API KEY</string>