Sentry-react-native: No [task]_SentryUpload running in build process

Created on 7 Apr 2020  路  2Comments  路  Source: getsentry/sentry-react-native

OS:

  • [ ] Windows
  • [x] MacOS
  • [ ] Linux

Platform:

  • [ ] iOS
  • [x] Android

SDK:

  • [x] @sentry/react-native
  • [ ] react-native-sentry

SDK version: 1.3.6
react-native version: 0.60.3

Are you using Expo?

  • [ ] Yes
  • [x] No

Are you using sentry.io or on-premise?

  • [x] sentry.io (SaaS)
  • [ ] on-premise

Configuration:

Sentry.init({
  dsn: 'https://[email protected]/...'
});

task: MyEnvRelease_SentryUpload wasn't running in my build process. I debugged Sentry.gradle and it go successfully this line with correct arguments.
https://github.com/getsentry/sentry-react-native/blob/b4984c1b0ee7e2e8a7f74eec22411ea4aa90e94e/sentry.gradle#L130

Steps to reproduce:

  • Using flavor to build a release ( ex: ./gradlew assembleBetaRelease)

Actual result:

  • Build Success, no error was prompted
  • Sourcemaps was built but no [task]_SentryUpload running in terminal

Expected result:
[task]_SentryUpload should be run and upload sourcemaps to sentry

Most helpful comment

Close it because it not relevant to sentry. My case is configure org.gradle.configureondemand=true on gradle.properties.

All 2 comments

Close it because it not relevant to sentry. My case is configure org.gradle.configureondemand=true on gradle.properties.

Shouldn't this be documented?

Was this page helpful?
0 / 5 - 0 ratings