Sentry not working

Please provide the following:

  1. SDK Version:47.0.0
  2. Platforms(Android/iOS/web/all): all

I created a brand new RN app using expo SDK 47.0.0 and installed and configured sentry-expo as described here

However, every time I try to log something I get this in the console:

Sentry Logger [warn]: Event was skipped as native SDK is not enabled

My sentry version is "sentry-expo": "~5.0.0"
If I downgrade to "sentry-expo": "^4.2.0" all the logs work but I get warning to update it to a compatible version.

Thanks.

Hi! Are you trying to use it in Expo Go? Sentry will not work there, as the native library is not included on Expo Go. However, it should work if you follow those directions and create a development build with it included.

1 Like

Yes I use it in Expo Go.
But the thing is, the exact same configuration works if I downgrade from 5.0.0 to 4.2.0.

Plus, @sentry/react-native is included also in expo:

They tell you to install it with:
npx expo install expo-application expo-constants expo-device expo-updates @sentry/react-native

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.