react-native-purchases-ui 10.8.1 → 10.9.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.
@@ -17,6 +17,6 @@ Pod::Spec.new do |spec|
17
17
  spec.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
18
18
 
19
19
  spec.dependency "React-Core"
20
- spec.dependency "PurchasesHybridCommonUI", '18.33.1'
20
+ spec.dependency "PurchasesHybridCommonUI", '18.37.0'
21
21
  spec.swift_version = '5.7'
22
22
  end
@@ -19,7 +19,13 @@ def isNewArchitectureEnabled() {
19
19
  }
20
20
 
21
21
  apply plugin: "com.android.library"
22
- apply plugin: "kotlin-android"
22
+ // AGP 9 ships built-in Kotlin support and registers the `kotlin` extension
23
+ // itself. Applying kotlin-android on top of it fails with
24
+ // "Cannot add extension with name 'kotlin'". Only apply it when nothing
25
+ // has registered that extension yet.
26
+ if (project.extensions.findByName('kotlin') == null) {
27
+ apply plugin: "kotlin-android"
28
+ }
23
29
 
24
30
  if (isNewArchitectureEnabled()) {
25
31
  apply plugin: "com.facebook.react"
@@ -59,7 +65,7 @@ android {
59
65
  minSdkVersion getExtOrIntegerDefault("minSdkVersion")
60
66
  targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")
61
67
  versionCode 1
62
- versionName '10.8.1'
68
+ versionName '10.9.1'
63
69
  }
64
70
 
65
71
  buildTypes {
@@ -91,7 +97,7 @@ dependencies {
91
97
  //noinspection GradleDynamicVersion
92
98
  implementation "com.facebook.react:react-native:+"
93
99
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
94
- implementation 'com.revenuecat.purchases:purchases-hybrid-common-ui:18.33.1'
100
+ implementation 'com.revenuecat.purchases:purchases-hybrid-common-ui:18.37.0'
95
101
  implementation 'androidx.compose.ui:ui-android:1.5.4'
96
102
  implementation "androidx.appcompat:appcompat:1.6.1"
97
103
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-purchases-ui",
3
3
  "title": "React Native Purchases UI",
4
- "version": "10.8.1",
4
+ "version": "10.9.1",
5
5
  "description": "React Native in-app purchases and subscriptions made easy. Supports iOS and Android.",
6
6
  "main": "lib/commonjs/index",
7
7
  "module": "lib/module/index",
@@ -77,7 +77,7 @@
77
77
  "peerDependencies": {
78
78
  "react": "*",
79
79
  "react-native": ">= 0.73.0",
80
- "react-native-purchases": "10.8.1",
80
+ "react-native-purchases": "10.9.1",
81
81
  "react-native-web": "*"
82
82
  },
83
83
  "peerDependenciesMeta": {
@@ -124,6 +124,6 @@
124
124
  ]
125
125
  },
126
126
  "dependencies": {
127
- "@revenuecat/purchases-typescript-internal": "18.33.1"
127
+ "@revenuecat/purchases-typescript-internal": "18.37.0"
128
128
  }
129
129
  }