-
-
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
@ sentry/react-native modal message "could not connect to Sentry native SDK" #662
Comments
Thanks for pointing out that it guides to the old documentation. |
@HazAT Sorry, iOS build is working. |
I just tried a clean project |
proper linking sorted this out for me by adding pod 'RNSentry', :path => '../node_modules/@sentry/react-native' then pod install "@sentry/react-native": "1.3.1", |
Anyone find a solution to this? Running into the same issue right now. I've reinstalled all node_modules and walked through the wizard. Tried 'npm link' as well as pod install, neither had any effect. Seeing it on both iOS and Android, in addition, interestingly enough, even when i use the flag enableNative:false, I still get the warnings. "@sentry/react-native": "^1.4.1", |
same issue |
same |
@jamesdunay @muriloneo @waqaramjad Can you try updating to the latest 1.7.0 and see if the issue persists? This just sounds like incorrect installations to me. |
solved with |
@muriloneo I highly recommend against doing that as if something is wrong with your installation you would not get notified on development and it could crash your production builds. |
I've removed, reinstalled, tried a lot of things and nothing made it work. Yesterday was working. The only thing that helped was that. |
@muriloneo Is the issue your seeing a YellowBox that says "Note: Native Sentry SDK is disabled." ? |
@muriloneo This means that the SDK is not linked correctly, if you enable this in production it would crash the app. |
I'll test relase in a few. But my installation was perfect yesterday. Today woke up with this error. |
@muriloneo Hmm did it install a newer version in the background or something? But yeah, at the very least I strongly suggest if you want to disable native crash handling to just do |
I have the same issue with |
@cervebar This issue is very old, it might be better to open a new one with more details about your app, are you using Expo, how do you build your app...? |
OS:
Platform:
SDK:
@sentry/react-native
: 1.0.5react-native-sentry
react-native
version: 0.60.4, 0.60.5Init Code:
I have following issue:
After starting, I see a modal message "Warning, could not connect to Sentry native SDK".
If you do not want to use the native component please pass
enableNative: false
in the options. Visit: https://docs.sentry.io/clients/react-native/ for more details."Thanks in advance for the answers.
Steps to reproduce:
react-native init AwesomeProject
cd AwesomeProject
npm i
npm install --save @sentry/react-native
AwesomeProject
runreact-native start
The text was updated successfully, but these errors were encountered: