react-native-ble-manager 12.5.1 → 12.5.2

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.
@@ -28,7 +28,14 @@ def isNewArchitectureEnabled() {
28
28
  }
29
29
 
30
30
  apply plugin: 'com.android.library'
31
- apply plugin: "kotlin-android"
31
+ // AGP 9 ships built-in Kotlin support and registers the `kotlin` extension
32
+ // itself. Applying the Kotlin plugin on top of it fails configuration with
33
+ // "Cannot add extension with name 'kotlin'". Only apply it when nothing has
34
+ // registered that extension yet.
35
+ if (project.extensions.findByName('kotlin') == null) {
36
+ apply plugin: "kotlin-android"
37
+ }
38
+
32
39
  apply plugin: 'com.facebook.react'
33
40
 
34
41
  def safeExtGet(prop, fallback) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-ble-manager",
3
- "version": "12.5.1",
3
+ "version": "12.5.2",
4
4
  "description": "A BLE module for react native.",
5
5
  "homepage": "https://innoveit.github.io/react-native-ble-manager/",
6
6
  "repository": {