Skip to content

Commit 02c47b1

Browse files
committed
fix: RN 73 compatibility
1 parent b845ef0 commit 02c47b1

File tree

2 files changed

+5898
-1
lines changed

2 files changed

+5898
-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)