We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
android.namespace
1 parent f93cfbe commit 0677344Copy full SHA for 0677344
CHANGELOG.md
@@ -2,6 +2,10 @@
2
3
## Unreleased
4
5
+### Features
6
+
7
+- Use `android.namespace` for AGP 8 and RN 0.73 ([#3133](https://github.com/getsentry/sentry-react-native/pull/3133))
8
9
### Dependencies
10
11
- Bump JavaScript SDK from v7.54.0 to v7.56.0 ([#3119](https://github.com/getsentry/sentry-react-native/pull/3119))
android/build.gradle
@@ -14,6 +14,11 @@ if (isNewArchitectureEnabled()) {
14
android {
15
compileSdkVersion safeExtGet('compileSdkVersion', 31)
16
17
+ // Conditional for compatibility with AGP <4.2.
18
+ if (project.android.hasProperty("namespace")) {
19
+ namespace = "io.sentry.react"
20
+ }
21
22
defaultConfig {
23
minSdkVersion safeExtGet('minSdkVersion', 21)
24
targetSdkVersion safeExtGet('targetSdkVersion', 31)
0 commit comments