@doordeck/headless-react-native-sdk 1.0.12 → 1.0.14

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.
@@ -21,7 +21,15 @@ def isNewArchitectureEnabled() {
21
21
  }
22
22
 
23
23
  apply plugin: "com.android.library"
24
- apply plugin: "kotlin-android"
24
+
25
+ // AGP 9's built-in Kotlin support registers the `kotlin` extension itself, and
26
+ // applying kotlin-android on top of it fails with a duplicate-extension error.
27
+ // Consumers may have that support on or off (android.builtInKotlin), and the
28
+ // standalone build here still pins AGP 8, so test for the extension rather than
29
+ // the AGP version.
30
+ if (project.extensions.findByName("kotlin") == null) {
31
+ apply plugin: "kotlin-android"
32
+ }
25
33
 
26
34
  if (isNewArchitectureEnabled()) {
27
35
  apply plugin: "com.facebook.react"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doordeck/headless-react-native-sdk",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "Doordeck React Native headless SDK",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",
@@ -66,8 +66,8 @@
66
66
  "@commitlint/config-conventional": "^21.2.0",
67
67
  "@evilmartians/lefthook": "^2.1.10",
68
68
  "@react-native-community/cli": "20.2.0",
69
- "@react-native/eslint-config": "0.86.2",
70
- "@react-native/jest-preset": "0.86.2",
69
+ "@react-native/eslint-config": "0.87.0",
70
+ "@react-native/jest-preset": "0.87.0",
71
71
  "@release-it/conventional-changelog": "^12.0.0",
72
72
  "@types/jest": "^29.5.13",
73
73
  "@types/react": "^19.2.0",
@@ -79,7 +79,7 @@
79
79
  "jest": "^29.7.0",
80
80
  "prettier": "^3.0.3",
81
81
  "react": "19.2.8",
82
- "react-native": "0.86.2",
82
+ "react-native": "0.87.0",
83
83
  "react-native-builder-bob": "^0.43.0",
84
84
  "release-it": "^21.0.0",
85
85
  "turbo": "^2.10.1",