OS:
Platform:
SDK:
@sentry/react-nativereact-native-sentrySDK version: @sentry/react-native: 1.3.7
react-native version: 0.61.5
Are you using Expo?
Are you using sentry.io or on-premise?
Configuration:
Sentry.init({
dsn: 'https://[email protected]/...'
});
I have following issue: bundleReleaseJsAndAssets_SentryUpload not get run.
Description goes here ...
bundleReleaseJsAndAssets_SentryUpload not get run even it's scheduled run after bundleReleaseJsAndAssets by the finalizedBy code (traced by IntelliJ IDEA so the finalizedBy line did run).
./gradlew tasks can list task bundleReleaseJsAndAssets_SentryUpload, but it's gone when really run ./gradlew assembleRelease
with --info got the "Sentry-CLI arguments" line printed, but when really run those tasks, bundleReleaseJsAndAssets_SentryUpload is missing though bundleReleaseJsAndAssets did run.
so there must be something happened which caused the task created, and hooked, but not finally run. I'm not familar with gradle and android system, so any idea what could cause this?
Actual result:
Expected result:
@ulion I had the same problem, and removing org.gradle.configureondemand=true in gradle.properties fixed it.
https://github.com/getsentry/sentry-react-native/issues/815#issuecomment-610977587
@ericmatte Thank you for notify. that's quite a hidden configuration. This should be documented in case user inactivite the upload by accident.
Most helpful comment
@ericmatte Thank you for notify. that's quite a hidden configuration. This should be documented in case user inactivite the upload by accident.