I want to set up Performance monitoring for my react native app. I have used the below code in app.js.
import * as Sentry from 'sentry-expo'
Sentry.init({
dsn: config.sentry,
enableInExpoDevelopment: true,
integrations: [
new Sentry.Native.ReactNativeTracing({
tracingOrigins: ['localhost', 'http://xxxx-xxx-xx-xx-xxx.ngrok.io', /^\//, /^http:\/\//],
}),
],
tracesSampleRate: 1.0
})
This is my sentry-expo version
"sentry-expo": "^4.0.5",
Still, it is not working. Can anyone help me out? Thanks.