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

Inject enabled features into the sentry-android sdk

Open romtsn opened this issue 3 years ago • 1 comments

We need to find a way to inject enabled features of the gradle plugin (auto-instrumentation, auto-installation, dexguard, etc.) into the Android SDK as part of the integrations list (https://github.com/getsentry/sentry-java/issues/1885).

Potential solutions:

  • Inject into the AndroidManifest and read it at runtime
  • Write into a file (similar to proguard-uuid) and read it at runtime
  • Use bytecode manipulation to update the integrations list

romtsn avatar Apr 13 '22 12:04 romtsn

This will help us understand adoption and make sure we GA things that are stable

bruno-garcia avatar Jun 15 '22 13:06 bruno-garcia

Let's inject this information to the app AndroidManifest.xml, together with the proguard mapping UUID.

markushi avatar Feb 01 '23 15:02 markushi