Questions tagged [react-native-sentry]
38 questions
13
votes
1 answer
How to setup Sentry-cli source maps with react-native
Introduction
Hi, I'm trying to get Sentry to recognise our sourcemaps in a react-native project, but I can't get it working.
The artifacts are uploading - I can see them in the WebUI, but the events lack context/mapping:
Question
Can anyone see…

Ashley Coolman
- 11,095
- 5
- 59
- 81
5
votes
2 answers
How to integrate Crashlytics with Sentry?
Can you help us please with these great tools integration.
Our React Native iOS project has been using Crashlytics for several months and it works well in case of native crashes but in case of JS exceptions it required some customization of…

styleofspur
- 123
- 2
- 11
4
votes
1 answer
React Native 0.60+ on iOS: Code Push, Sentry, React Native Navigation v3 and AppDelegate.m
I migrated to React Native 0.60 from 0.59 and haven't managed to make iOS build work. I'm using React Native Navigation v3, Code Push and Sentry plugins. How does my AppDelegate.m should look?
Here is my attempt, but it's not working and I get "No…

terreb
- 1,417
- 2
- 23
- 40
3
votes
2 answers
How to log error in catch statement in sentry
I am new to Sentry and I want to log an error manually.
For some reason I am unable to find in their docs, how I can achieve this
I am using RN project but from their docs, RN extends JS sdk
Consider a function as simple as this
const…

Cyberduck
- 571
- 3
- 6
- 12
3
votes
0 answers
Ios Sourcemaps not applied - Sentry
Cannot get React Native IOS Source maps to apply.
The distribution and release match.
If RN is in debug mode then everything matches appropriately.
sentry-cli releases files “n.sdsadas.dasdsadas@2.0.0+2.0.0.14”
upload-sourcemaps < path > --dist…

user34345352
- 81
- 4
3
votes
1 answer
How to set application version on the Sentry error capturing?
Recently, I installed Sentry on my React Native application. I set my initializing configuration like below:
import { SentryToken } from './app/helpers/config';
import { environment } from './app/helpers/env';
Sentry.init({
dsn: SentryToken,
…

AmerllicA
- 29,059
- 15
- 130
- 154
3
votes
2 answers
Task :app:bundleReleaseJsAndAssets_SentryUpload FAILED
I'm facing this issue when compiling APK in react-native,
This issue happens only when generating a release APK and the app works fine on debug mode.
It seems that the path to global node modules is wrong ( Not in Desktop ).

ABDELKHALEK ZELLAT
- 238
- 1
- 3
- 11
3
votes
0 answers
Xcode Build failed If I add upload debug symbols to sentry script
Unable to build the app If I add the Upload Debug Symbols to sentry. Also in Xcode it showing
Continuing in background
Failed to display Xcode notification
export SENTRY_PROPERTIES=sentry.properties
../node_modules/@sentry/cli/bin/sentry-cli…

sejn
- 2,040
- 6
- 28
- 82
3
votes
2 answers
How can I open the user feedback window in my simulator using @sentry/react-native
I need to open the user feedback window in my simulator using @sentry/react-native.
I have tired by adding the Sentry.showReportDialog() in my App.js.
But it not worked and I got an undefined error.
Can anyone suggest what is the best practice to…

sejn
- 2,040
- 6
- 28
- 82
3
votes
0 answers
React native app sourcemaps show incorrect location of error when error happens in asynchronous code
I have a react-native app. I recently moved to react-native version 0.61.5 for which I took the long route of creating a new react-native app and porting my code over to avoid any linking issues since new version used PODFILE as the default linking…

Varun Gupta
- 2,870
- 6
- 33
- 73
3
votes
0 answers
Automate source maps upload React Native
How can i automate source maps uploading process for Sentry in React Native?
react-native bundle \
--dev false \
--platform android \
--entry-file index.js \
--bundle-output android.main.bundle \
--sourcemap-output…

Abhishek Goel
- 81
- 3
3
votes
1 answer
How to manually upload my source code to sentry?
My app is built with expo and sentry dashboard shows me 2 errors :
Discarded invalid parameter 'type'
and
Source code was not found for app:///crna-entry.bundle?
…

John doe
- 3,680
- 7
- 31
- 65
3
votes
1 answer
Sentry cannot find my source code
I cannot display my original code in sentry dashboard.
i get the following errors
Discarded invalid parameter 'type'
Source code was not found for app:///crna-entry.delta?
platform=ios&dev=true&minify=false`
I've configured the app.json as…

John doe
- 3,680
- 7
- 31
- 65
2
votes
0 answers
Ignore Unhandled [object XMLHttpRequest] in Sentry
Maybe somebody faced the same problem as me or at least knows Sentry and is able to help me to fix it.
I see in my Sentry issues report that there are a lot of events called
I looked at breadcrumbs of the events and see they looks pretty the same.…

karo-s
- 384
- 2
- 15
2
votes
0 answers
sentry expo logs error when enableInDevelopment is set to false or omitted
I have a react native expo managed app using react-native-sentry. According to the docs here: Sentry Expo Docs disabled by default in dev when encountering an error in dev it should be no op. I'm getting an error logged:
config Object {
"debug":…

jhuether
- 31
- 3