Skip to content

Commit 3853f43

Browse files
chore(sample): Disable SAGP autoInstallation (#3136)
1 parent e2af3a4 commit 3853f43

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

sample-new-architecture/android/app/build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ sentry {
1414
// you don't need to do it manually.
1515
// Default is disabled.
1616
includeNativeSources = true
17+
18+
// `@sentry/react-native` ships with compatible `sentry-android`
19+
// This option would install the latest version that ships with the SDK or SAGP (Sentry Android Gradle Plugin)
20+
// which might be incompatible with the React Native SDK
21+
// Enable auto-installation of Sentry components (sentry-android SDK and okhttp, timber and fragment integrations).
22+
// Default is enabled.
23+
autoInstallation {
24+
enabled = false
25+
}
1726
}
1827

1928
react {

0 commit comments

Comments
 (0)