Android release created with no artifacts after local expo build
OS:
- [ ] Windows
- [x] MacOS
- [ ] Linux
Platform:
- [ ] iOS
- [x] Android
SDK:
- [x]
@sentry/react-native(>= 1.0.0) - [ ]
react-native-sentry(<= 0.43.2)
SDK version: 5.20.0
react-native version: 0.73.6
Are you using Expo?
- [x] Yes
- [ ] No
Are you using sentry.io or on-premise?
- [x] 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: 'https://[email protected]/...'
// other options
});
or
(react-native-sentry)
Sentry.config(
'https://[email protected]/...'
// other options
).install();
I have the following issue:
When I build my app and to run in local dev mode it creates a release in our sentry dashboard. The release matches the version defined in my expo app config, but it uses 1 for the build number. This issue was observed after upgrading from 5.19.1 to 5.20.0.
Steps to reproduce:
expo run:android(i started the dev server in a separate terminal and ran on my physical device)
Actual result:
The app builds and runs on device as usual, but a release is created in sentry.
Expected result:
No release is created for local builds. I also tried SENTRY_DISABLE_AUTO_UPLOAD=true expo run:android, but it still creates the release.