-
-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source code was not found for app:///index.bundle #376
Comments
Hi there, I just edited this for you. Try not to post your DSN on GitHub. |
Should I upload the bundle and the source map manually to sentry ? is there any other information I should provide with the ticket ? I tried uploading the bundle and the source map manually and I got a "Invalid token (401)" error Command used to generate the bundle and the source map:
Command used to upload the bundle and the source map to sentry:
|
Hey, so it seems like you are using the wrong Auth Token. |
Thanks for the reply, I managed to execute the upload command with the correct information, the files are uploaded now to sentry.io but I still get this error on sentry:
the build artifacts names are the following:
|
Can you link an event here so I can take a look at it? |
As mentioned in Issue 338 I forgot to add the RNSentryPackage:
P.S: I am integrating react native in an existing Android app, the react instance is managed inside a fragment, I didn't need to implement ReactApplication anywhere, I checked the source code for RNSentryPackage and the ReactApplication constructor argument is never used in the code. that's why I used null in the constructor. |
@Alqasrawi are you able to get the line number on sentry. |
@vivek-walecha-657 Hey, no reason to be upset, I see your comment for the first time :) |
org = sharek @HazAT I have successfully generated sourcemaps via:-
And then uploaded the generated sourcemap.js to sentry (this works)
But still in the sentry console it tells me via sentry web portal What am I doing wrong please? *** EDIT *** I am using codePush so I am now following the instructions for that: https://docs.sentry.io/clients/react-native/codepush/ I am still seeing the error I have now set up the codePush metadata hook as per
and The following command is successful:-
|
For me, this getsentry/sentry-cli#233 helped, as the path I was using was just |
OS:
Platform:
Output of
node -v && npm -v && npm ls --prod --depth=0
Config:
I have following issue:
I get the "Source code was not found for app:///index.bundle" error on sentry.io dashboard
I added sentry to my react native app inside an existing Android app, I used the react-native link react-native-sentry command to integrate sentry in the project and I added:
to app/build.gradle
The map file isn't uploaded to sentry and therefore the code is not reported with the crashes, only the stack trace.
Steps to reproduce:
Actual result:
Expected result:
The text was updated successfully, but these errors were encountered: