Skip to content

expo run:android --variant Release doesn't trigger automatic source map upload #3907

@krystofwoldrich

Description

@krystofwoldrich

Description

After running npx expo run:android --variant Release --no-build-cache in the samples/expo the task :app:createBundleReleaseJsAndAssets is executed, but :app:createBundleReleaseJsAndAssets_SentryUpload is not.

╰─ npx expo run:android --variant Release --no-build-cache                                                                                                 ─╯
› Port 8081 is running sentry-react-native-sample in another window
  /Users/krystofwoldrich/repos/sentry-react-native/samples/react-native (pid 82622)
✔ Use port 8082 instead? … yes
› Building app...
Configuration on demand is an incubating feature.

> Configure project :expo

Using expo modules
  - expo-constants (15.4.5)
  - expo-file-system (16.0.7)
  - expo-font (11.10.3)
  - expo-keep-awake (12.8.2)
  - expo-modules-core (1.11.9)
  - expo-modules-core$android-annotation-processor (1.11.9)
  - expo-modules-core$android-annotation (1.11.9)
  - expo-splash-screen (0.26.4)
  - expo-web-browser (12.8.2)


> Task :expo:compileReleaseKotlin
w: file:///Users/krystofwoldrich/repos/sentry-react-native/samples/expo/node_modules/expo/android/src/main/java/expo/modules/ReactActivityDelegateWrapper.kt:139:50 No cast needed

> Task :app:createBundleReleaseJsAndAssets
Writing bundle output to: /Users/krystofwoldrich/repos/sentry-react-native/samples/expo/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle
Writing sourcemap output to: /Users/krystofwoldrich/repos/sentry-react-native/samples/expo/android/app/build/intermediates/sourcemaps/react/release/index.android.bundle.packager.map
Copying 12 asset files
Done writing bundle output
Done writing sourcemap output

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD SUCCESSFUL in 26s
414 actionable tasks: 22 executed, 392 up-to-date
Starting Metro Bundler

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Done

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions