Please provide the following:
- SDK Version: 35
- Platforms(Android/iOS/web/all): iOS
I created an issue over on the GitHub issues as well: Expo 35: undefined is not an object (evaluating '_sentryExpo.default.captureException') · Issue #91 · expo/sentry-expo · GitHub but thought I’d post here in case anyone else has come across this.
I am recieving a undefined is not an object (evaluating '_sentryExpo.default.captureException')
but only on iOS, Android works fine.
In my App.js:
import * as Sentry from 'sentry-expo';
Sentry.init({
dsn: {myDSN},
enableInExpoDevelopment: false,
debug: true
});
Sentry.setRelease(Constants.manifest.revisionId);