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.
1 parent 336707e commit 834fd47Copy full SHA for 834fd47
android/build.gradle
@@ -27,6 +27,13 @@ def getExtOrIntegerDefault(name) {
27
28
android {
29
compileSdkVersion getExtOrIntegerDefault('compileSdkVersion')
30
+
31
+ def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
32
+ if (agpVersion.tokenize('.')[0].toInteger() >= 7) {
33
+ namespace "com.RNAppleAuthentication"
34
+ buildFeatures.buildConfig true
35
+ }
36
37
defaultConfig {
38
minSdkVersion getExtOrIntegerDefault('minSdkVersion')
39
targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
0 commit comments