Skip to content

Commit 68fe4af

Browse files
Update build.gradle (#878)
1 parent 484ec68 commit 68fe4af

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

android/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ buildscript {
2020
apply plugin: 'com.android.library'
2121

2222
android {
23+
def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
24+
if (agpVersion.tokenize('.')[0].toInteger() >= 7) {
25+
namespace "com.rnappauth"
26+
}
27+
2328
compileSdkVersion safeExtGet('compileSdkVersion', 28)
2429
defaultConfig {
2530
minSdkVersion safeExtGet('minSdkVersion', 16)

0 commit comments

Comments
 (0)