Skip to content

Commit 06e91b2

Browse files
authored
Merge pull request #314 from Alza-app/master
fix: RN 73 compatibility
2 parents b845ef0 + 9ab918c commit 06e91b2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

android/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ if (isNewArchitectureEnabled()) {
4444
}
4545

4646
android {
47+
def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
48+
if (agpVersion.tokenize('.')[0].toInteger() >= 7) {
49+
namespace "com.ronradtke.rnblobutil"
50+
}
4751
compileSdkVersion safeExtGet('compileSdkVersion', 30)
4852
buildToolsVersion safeExtGet('buildToolsVersion', '28.0.3')
4953
defaultConfig {
@@ -161,4 +165,4 @@ afterEvaluate { project ->
161165
}
162166
}
163167
}
164-
}
168+
}

0 commit comments

Comments
 (0)