sentry-android-gradle-plugin icon indicating copy to clipboard operation
sentry-android-gradle-plugin copied to clipboard

Migrate `react-native/sentry.gradle` to SAGP

Open krystofwoldrich opened this issue 1 year ago • 2 comments

Description

Migrating sentry.gradle to SAGP simplifies RN Android setup and ensure both source maps and native symbols are uploaded by default (currently only source maps uploaded by default).

Tasks

  • [ ] Move sentry.gradle code to SAGP
  • [ ] Create new defaults for SAGP on RN
  • [ ] Add SAGP as dependency of RN SDK
  • [ ] Update @sentry/wizard
  • [ ] Update docs manual setup RN

Benefits

  • One plugin for RN users on Android (currently two)
  • One options (currently two)
  • Sensible defaults (currently RN users have to change SAGP default to avoid unexpected behaviour)
    • https://docs.sentry.io/platforms/react-native/manual-setup/manual-setup/#enable-sentry-agp
    • auto-install=false need for RN
  • Better support for native network requests
    • RN SDK can benefit from bytecode manipulation
  • Easier to test the RN specific tasks

krystofwoldrich avatar Dec 13 '24 12:12 krystofwoldrich

Hi Hi, are there any plans for this issue?

smellouk avatar Dec 10 '25 10:12 smellouk

yes, it's on the roadmap for the next 3 months, so we should get to it rather soon.

romtsn avatar Dec 10 '25 11:12 romtsn