[sentry-expo] Sourcemap not found with expo-updates
See original GitHub issue🐛 Bug Report
Summary of Issue
Seems that this issue https://github.com/expo/sentry-expo/issues/134 is regression with the latest versions of expo, expo-updates and sentry-expo
I’m testing the 3.0.0-rc4
. If you install an update via expo-updates
, Sentry can’t found the sourcemaps.
Environment - output of expo diagnostics
& the platform(s) you’re targeting
Expo CLI 3.27.13 environment info:
System:
OS: macOS 10.15.5
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.13.0 - /usr/local/bin/node
Yarn: 1.19.1 - /usr/local/bin/yarn
npm: 6.14.8 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.0, DriverKit 19.0, macOS 10.15, tvOS 14.0, watchOS 7.0
Android SDK:
Android NDK: 21.3.6528147
IDEs:
Android Studio: 4.0 AI-193.6911.18.40.6514223
Xcode: 12.0/12A7209 - /usr/bin/xcodebuild
npmPackages:
expo: ~39.0.2 => 39.0.3
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: ~0.63.3 => 0.63.3
react-native-web: ~0.13.12 => 0.13.14
npmGlobalPackages:
expo-cli: 3.27.13
Expo Workflow: bare
Reproducible Demo
Repo: https://github.com/RodolfoGS/sentry-test
git clone git@github.com:RodolfoGS/sentry-test.git
cd sentry-test
yarn install
- Configure the following files with your Sentry values (org, project, token and dsn)
- android/sentry.properties
- app.json
- ios/sentry.properties
- App.js
expo publish
(to updateEXPO_UPDATE_URL
property)- Build APK as release
- Install in your device, run and tap on
Crash Now
button - The crash appears perfectly on Sentry, with their sourcemaps 👍
expo publish
- Tap on
Update Now
button - Tap on
Crash Now
button - The crash appears on Sentry without their sourcemaps 👎
I’m experimenting this issue on Android and iOS
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
[3.0.0-rc2] Sourcemap not found with expo-updates on Android
I'm testing the 3.0.0-rc2 . If you install an update via expo-updates, Sentry can't found the sourcemaps. Environment - output of expo ......
Read more >Using Sentry - Expo Documentation
Uploading sourcemaps for updates · Run eas update . This will generate a dist folder in your project root, which contains your JavaScript...
Read more >Using Sentry with Expo
Expo is an excellent way to quickly create and play around with your React Native app. Now you can also use Sentry together...
Read more >Using Sentry with Expo for React Native
Expo is an excellent way to quickly create and play around with your react native app. Now you can also use Sentry together...
Read more >Sentry-expo - npm.io
This new update will not be published automatically and will exist only in the binary with which it was bundled. Since it isn't...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
fix is released in
sentry-expo@3.0.4
Yes I did those steps, I created a demo to reproduce