sentry-expo issue

Please provide the following:

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

I created an issue over on the GitHub issues as well: https://github.com/expo/sentry-expo/issues/91 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);

This was my fault…hadn’t updated all my imports

2 Likes

Happy to hear you got it resolved!

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