'Sentry.setUser' is undefined after updating to SDK 42

Please provide the following:

  1. SDK Version: 42
  2. Platforms(Android/iOS/web/all): Android/iOS
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

Updated SDK 42 from 39… The sentry started throwing error below:

TypeError: Sentry.setUser is not a function. (In ‘Sentry.setUser(userDetails)’, ‘Sentry.setUser’ is undefined)]

Did you follow the changelog? sentry-expo/CHANGELOG.md at main · expo/sentry-expo · GitHub

1 Like

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