From 3853f4362ec819042552ffa9ed30e8f6627e60bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kry=C5=A1tof=20Wold=C5=99ich?= <31292499+krystofwoldrich@users.noreply.github.com> Date: Thu, 13 Jul 2023 09:56:23 +0200 Subject: [PATCH] chore(sample): Disable SAGP autoInstallation (#3136) --- sample-new-architecture/android/app/build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sample-new-architecture/android/app/build.gradle b/sample-new-architecture/android/app/build.gradle index 1fa30ff28..e66f107ef 100644 --- a/sample-new-architecture/android/app/build.gradle +++ b/sample-new-architecture/android/app/build.gradle @@ -14,6 +14,15 @@ sentry { // you don't need to do it manually. // Default is disabled. includeNativeSources = true + + // `@sentry/react-native` ships with compatible `sentry-android` + // This option would install the latest version that ships with the SDK or SAGP (Sentry Android Gradle Plugin) + // which might be incompatible with the React Native SDK + // Enable auto-installation of Sentry components (sentry-android SDK and okhttp, timber and fragment integrations). + // Default is enabled. + autoInstallation { + enabled = false + } } react {