Sentry.setRelease is not a function

Please provide the following:

  1. SDK Version: 39
  2. Platforms(Android/iOS/web/all): Android
  3. “sentry-expo”: “^3.0.2”,
  4. “expo-constants”: “~9.2.0”,

Replace this section with as much relevant information as possible and any relevant code along with your question.

i have imported
import * as Sentry from “sentry-expo”; in App.js

dsn: Keys.sentryDns


Hi! you can set the release inside of the init method, i.e.:

dsn: Keys.sentryDns, 
release: "myrelease"

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