We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff01d76 commit 9deab22Copy full SHA for 9deab22
android/build.gradle
@@ -16,6 +16,13 @@ def getExtOrDefault(name, fallback) {
16
}
17
18
android {
19
+ // Check AGP version for backward compatibility w/react-native versions still on gradle plugin 6
20
+ // it looks like this causes issues between 7 and 8, so for the time being
21
+ def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
22
+ if (agpVersion.tokenize('.')[0].toInteger() >= 7) {
23
+ namespace = "kjd.reactnative.bluetooth"
24
+ }
25
+
26
compileSdkVersion getExtOrDefault('compileSdkVersion', 34)
27
buildToolsVersion getExtOrDefault('buildToolsVersion', "34.0.0")
28
0 commit comments