-
-
Notifications
You must be signed in to change notification settings - Fork 353
Description
OS:
- Windows
- [O] MacOS
- Linux
Platform:
- [O] iOS
- [O] Android
SDK:
-
[O]
@sentry/react-native
(>= 1.0.0) -
react-native-sentry
(<= 0.43.2)"@sentry/cli": "2.10.0",
"@sentry/react-native": "5.0.0-alpha.10",
"@sentry/wizard": "1.2.17",
SDK version: 0.0.0
react-native
version: 0.0.0
"react-native": "0.70.6",
Are you using Expo?
- Yes
- [O] No
Are you using sentry.io or on-premise?
- [O] sentry.io (SaaS)
- on-premise
If you are using sentry.io, please post a link to your issue so we can take a look:
[Link to issue]
Configuration:
(@sentry/react-native
)
Sentry.init({
dsn: Config.SENTRY_DSN,
debug: true,
release: test123,
dist: t123,
environment: Config.ENV,
tracesSampleRate: 0.1,
sampleRate: 0.8,
// other options
});
or
(react-native-sentry
)
Sentry.config(
'https://...@sentry.io/...'
// other options
).install();
I have following issue:
[Description]
Steps to reproduce:
- Step 1
- Step 2
i did manual sourcemap upload
this is command
`npx react-native bundle --platform ios --dev false --entry-file index.js --reset-cache --bundle-output main.jsbundle --sourcemap-output main.jsbundle.map --minify false
npx react-native bundle --platform android --dev false --entry-file index.js --reset-cache --bundle-output index.android.bundle --sourcemap-output index.android.bundle.packager.map --minify false
chmod 777 index.android.bundle
node_modules/react-native/sdks/hermesc/osx-bin/hermesc -O -emit-binary -output-source-map -out=index.android.bundle.hbc index.android.bundle
rm -f index.android.bundle
mv index.android.bundle.hbc index.android.bundle
node node_modules/react-native/scripts/compose-source-maps.js index.android.bundle.packager.map index.android.bundle.hbc.map -o index.android.bundle.map
node_modules/@sentry/cli/bin/sentry-cli releases files 3.33.3+334 upload-sourcemaps --dist 334 --strip-prefix /path/to/project/root main.jsbundle main.jsbundle.map --org myOrg --project myProject
node_modules/@sentry/cli/bin/sentry-cli releases files 3.33.3+334 upload-sourcemaps --dist 334 --strip-prefix /path/to/project/root index.android.bundle index.android.bundle.map --org myOrg --project myProject
`
release and dist are exactly as same as sentry init options
Actual result:
i cannot read the code line the error ocurred
[Actual result]
Expected result:
i can read the code line like below
btw i use hermes
Metadata
Metadata
Assignees
Labels
Projects
Status