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 22
33## Unreleased
44
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+
59### Dependencies
610
711- 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()) {
1414android {
1515 compileSdkVersion safeExtGet(' compileSdkVersion' , 31 )
1616
17+ // Conditional for compatibility with AGP <4.2.
18+ if (project. android. hasProperty(" namespace" )) {
19+ namespace = " io.sentry.react"
20+ }
21+
1722 defaultConfig {
1823 minSdkVersion safeExtGet(' minSdkVersion' , 21 )
1924 targetSdkVersion safeExtGet(' targetSdkVersion' , 31 )
You can’t perform that action at this time.
0 commit comments