OS:
_Platform:_
Output of node -v && npm -v && npm ls --prod --depth=0
v8.10.0
5.6.0
/Users/xxx/projects/yyy
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected] invalid
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
Config:
Sentry.config('https://[email protected]/...').install()
I have following issue:
Native crashes are not reported. I have a detached expo app, I'm using react-native-sentry instead of sentry-expo because it's detached, I did react-native link react-native-sentry. Running the app from expo.
When the app crashes on iOS, or when I do Sentry.nativeCrash(); in the simulator, nothing gets reported. Sentry.captureMessage('TEST message'); reports correctly.
It also wan't reporting crashes before I detached expo, with sentry-expo.
Confirm, the same situation. Installed the latest release (0.38.3). Crashes don't send but custom captured messages are shown in the log.
Sentry.isNativeClientAvailable() returns false for Android
I just tried it and it works.
Please make sure your MainApplication.java looks something like this:
...
import io.sentry.RNSentryPackage;
...
public class MainApplication extends Application implements ReactApplication {
...
@Override
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(), new RNSentryPackage()
);
}
Thanks for reply! Iβve been trying on iOS, any suggestions what can go
wrong with the configuration for it?
On July 30, 2018 at 12:54:23 AM, Daniel Griesser ([email protected])
wrote:
I just tried it and it works.
Please make sure your MainApplication.java looks something like this:...
import io.sentry.RNSentryPackage;
...
public class MainApplication extends Application implements ReactApplication {
...
@Override
protected ListgetPackages() {
return Arrays.asList(
new MainReactPackage(), new RNSentryPackage()
);
}β
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/getsentry/react-native-sentry/issues/447#issuecomment-408778364,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG8TmsRErkSUQa-0fafhwxqgOjR0YqCzks5uLruvgaJpZM4Vfdyk
.
@HazAT Mine looks exactly the same, even built-in native crash method doesn't trigger error event in the dashboard (crashes the app though)
What is the SDK section saying on the bottom of your event?
It should look something like this:

@vovanmix @sergeylaptev did you ever figure this out? We don't see any crashes in Segment, though JS exceptions and messages work fine.
Any news about this? I am trying Sentry on both ios and android it triggers only when using Sentry.captureException().
I am using this with:
"react-native": "0.59.0",
"react-native-sentry": "^0.42.0",
Getting reports from customers of the app crashing and we see nothing on our end.
To make the app crash show up, but we aren't getting anything when the app just drops.
+1
same issue here...
Same here
"react-native": "0.59.8",
"react-native-sentry": "^0.42.0",
+1
Same here. As workaround I override the global error handler to include the Sentry log.
// Error handler setup
let originalHandler = ErrorUtils.getGlobalHandler();
ErrorUtils.setGlobalHandler((error, isFatal) => {
Sentry.captureException(error);
originalHandler(error, isFatal);
});
@prof18, not working for me. react-native: 0.57.8, react-native-sentry: 0.43.2
EDIT: sorry, my bad, I tested with the debug build where Sentry was disabled. It does work. Thank you!
I am closing all old issues, please if this is still a problem feel free to revive it.
Also, consider moving to our new SDK @sentry/react-native if it still happens there please open a new issue.
Most helpful comment
Any news about this? I am trying Sentry on both ios and android it triggers only when using
Sentry.captureException().I am using this with:
"react-native": "0.59.0", "react-native-sentry": "^0.42.0",