File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Unreleased
4
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
+
5
9
### Dependencies
6
10
7
11
- Bump JavaScript SDK from v7.54.0 to v7.56.0 ([ #3119 ] ( https://github.com/getsentry/sentry-react-native/pull/3119 ) )
Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ if (isNewArchitectureEnabled()) {
14
14
android {
15
15
compileSdkVersion safeExtGet(' compileSdkVersion' , 31 )
16
16
17
+ // Conditional for compatibility with AGP <4.2.
18
+ if (project. android. hasProperty(" namespace" )) {
19
+ namespace = " io.sentry.react"
20
+ }
21
+
17
22
defaultConfig {
18
23
minSdkVersion safeExtGet(' minSdkVersion' , 21 )
19
24
targetSdkVersion safeExtGet(' targetSdkVersion' , 31 )
You can’t perform that action at this time.
0 commit comments