-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
Using Sentry.setShouldSendCallback causes Invariant Violation in AppRegistry #268
Comments
Hey, are you sure this is related to react-native-sentry?
|
@HazAT thanks for the prompt reply! When I comment out Sentry stuff altogether it still sends the reports |
hmm, this does not make sense, Sentry only sends stuff if you call install. |
|
I've just tried it if I comment out this line it does nothing. |
Somehow cleaning my android build and re-installing the app on the device fixed it. |
OS:
Platform:
Config:
I have following issue:
When trying to disable reporting in dev mode the app crashes on startup.
Steps to reproduce:
Set the config
Set
Sentry.setShouldSendCallback(() => false);
Run the app
Actual result:
Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
Expected result:
App launching
The text was updated successfully, but these errors were encountered: