Questions tagged [react-native-sentry]

38 questions
2
votes
0 answers

React Native TypeError undefined is not an object (evaluating 'u()(o).then')

Sentry Error Screenshot Code Reference I am getting this issue reported on firebase crashlytics and sentry from my production app. 5 events and 4 users have been affected out of 100 users. I'm not able to reproduce this issue and also not able to…
2
votes
0 answers

How to upload source maps in react native sentry without expo

How to upload source maps to sentry correctly for react native without using expo.I have tried manual uploading source maps and automated by using sentry webpack plugin.But nothing seems to work.Even if am trying with webpack i have followed the…
1
vote
1 answer

@sentry/react-native with react-native-web -- ErrorUtils is not defined

I'm trying to use @sentry/react-native in a project that uses React Native Web. React Native Web seems to not define ErrorUtils, which from what I gather is a React Native function. This is unfortunate as @sentry/react-native seems to depend on it,…
S.V.
  • 1,181
  • 6
  • 23
1
vote
2 answers

Sentry on React Native: Building for iOS breaks with "property 'options' not found on object of type 'PrivateSentrySDKOnly'"

I am using CircleCI to build for iOS (and Android) and recently, the iOS build fails with these error messages: Compiling RNSentry.m ❌ /Users/distiller/project/node_modules/@sentry/react-native/ios/RNSentry.m:107:79: property 'options' not found…
Ted
  • 19,727
  • 35
  • 96
  • 154
1
vote
1 answer

How to get a good stack trace in Sentry for React Native?

I log my errors in Sentry, but the stack trace that is uploaded doesn't help. It displays only trace like this: And it doesn't let me see into where in the JS the error occurred. How do I map these to a more descriptive stack trace?
Zygro
  • 6,849
  • 11
  • 28
  • 43
1
vote
0 answers

How to show specific Sentry alerts to specific users only?

Development team uses Sentry to get technical alerts. Some technical failures need to be communicated to business team also. Business team is also tech savvy and can have sentry accounts. Is there an option in Sentry to send certain technical alerts…
1
vote
1 answer

sentry upload failure message in Android release APK(signed)?

Working on the react-native app with go-Lang, In the sentry plugin facing issue while generating the release APK file. But we can able generate debug APK through android studio. Android studio error messages: sentry reported an error: You do not…
Senthilkumar
  • 2,471
  • 4
  • 30
  • 50
1
vote
1 answer

TypeError: undefined is not an object (evaluating '_reactNative.Sentry.captureBreadcrumb')

I have upgraded to @sentry/react-native latest version with react-native version 0.62.2. Already I am using react-native-sentry package with react-native version 0.59.9 it works fine. After the upgrade, I have changed the import alone and run pod…
sejn
  • 2,040
  • 6
  • 28
  • 82
1
vote
0 answers

Catch react native warnings

I integrated @sentry/react-native SDK Version 1.30. And catching errors work well. But the warnings not sent to Sentry. Is it possible to catch react native warnings (YellowBox warnings) for logging with sentry?
tilonet
  • 11
  • 1
1
vote
1 answer

Send warning messages to Sentry (react-native-sentry)

I have include Sentry to track crashes of my mobile application. It is working properly, now I want to send warning messages to sentry to track them. Is there a way to do this from JavaScript side. Thanks.
Gayan Charith
  • 7,301
  • 2
  • 20
  • 32
0
votes
0 answers

Sentry absolute path error in node js and express

Sentry error getting this error in sentry if i am using sentry. We've encountered 1 problem un-minifying your applications source code! captureException but not occouring in sentry.captureMessage. is there any way to remove stack frame to get the…
0
votes
1 answer

How to exclude App Cold Start from duration in Sentry

I have React Native app with Sentry integrated. I use Performance from Sentry with automatic instrumentation in order to measure screen load times within react-navigation library). Is there any way to exclude app.start.cold span from p50 or p95…
Stachu
  • 35
  • 4
0
votes
1 answer

Sentry React Native intialisation without setup wizard

It is necessary to run sentry setup wizard inorder to use sentry in react native app. I dont need all the functionalies, only error handling . Can I just install @sentry/react-native package and use the Sentry.ErrorBoundary ? I tried referring to…
0
votes
1 answer

React Native Sentry attachScreenshot permissions

I'm using the attachScreenshot property in Sentry. Everything works as expected. The only question is, do I have to ask permissions to do this? Similar than camera or bluetooth.
Gerardo
  • 168
  • 2
  • 8
0
votes
0 answers

Sentry.init not initiating when offline - causes a crash

I recently moved from expo-go to expo-dev-client and since then, the app crashes on start up if there is slow or no internet. I have this in my app.js: try { Sentry.init({ dsn: 'https://XXX@XXX.ingest.sentry.io/XXX', }); } catch (e) { …
OssenCoder
  • 156
  • 9