We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f6c13f commit 63c9804Copy full SHA for 63c9804
android/build.gradle
@@ -24,7 +24,11 @@ if (isNewArchitectureEnabled()) {
24
25
26
android {
27
- namespace = "com.reactcommunity.rndatetimepicker"
+ def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
28
+ if (agpVersion.tokenize('.')[0].toInteger() >= 7) {
29
+ namespace "com.reactcommunity.rndatetimepicker"
30
+ }
31
+
32
compileSdkVersion getExtOrIntegerDefault('compileSdkVersion')
33
34
// Used to override the NDK path/version on internal CI or by allowing
0 commit comments