react-native-bluebreeze 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,6 +22,13 @@ def isNewArchitectureEnabled() {
22
22
 
23
23
  apply plugin: "com.android.library"
24
24
 
25
+ // Some AGP versions register their own "kotlin" extension. We only apply
26
+ // the Kotlin Gradle plugin if that hasn't already happened, to avoid
27
+ // "Cannot add extension with name 'kotlin'" failures.
28
+ if (project.extensions.findByName("kotlin") == null) {
29
+ apply plugin: "kotlin-android"
30
+ }
31
+
25
32
  if (isNewArchitectureEnabled()) {
26
33
  apply plugin: "com.facebook.react"
27
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-bluebreeze",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "BlueBreeze bindings for React Native. A modern Bluetooth LE library.",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",