react-native-purchases 10.9.0 → 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.
package/RNPurchases.podspec
CHANGED
package/android/build.gradle
CHANGED
|
@@ -12,7 +12,13 @@ buildscript {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
apply plugin: 'com.android.library'
|
|
15
|
-
|
|
15
|
+
// AGP 9 ships built-in Kotlin support and registers the `kotlin` extension
|
|
16
|
+
// itself. Applying kotlin-android on top of it fails with
|
|
17
|
+
// "Cannot add extension with name 'kotlin'". Only apply it when nothing
|
|
18
|
+
// has registered that extension yet.
|
|
19
|
+
if (project.extensions.findByName('kotlin') == null) {
|
|
20
|
+
apply plugin: 'kotlin-android'
|
|
21
|
+
}
|
|
16
22
|
|
|
17
23
|
def getExtOrDefault(name) {
|
|
18
24
|
return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties['Purchases_' + name]
|
|
@@ -29,7 +35,7 @@ android {
|
|
|
29
35
|
minSdkVersion getExtOrIntegerDefault('minSdkVersion')
|
|
30
36
|
targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
|
|
31
37
|
versionCode 1
|
|
32
|
-
versionName '10.9.
|
|
38
|
+
versionName '10.9.1'
|
|
33
39
|
}
|
|
34
40
|
|
|
35
41
|
buildTypes {
|
|
@@ -121,6 +127,6 @@ def kotlin_version = getExtOrDefault('kotlinVersion')
|
|
|
121
127
|
dependencies {
|
|
122
128
|
//noinspection GradleDynamicVersion
|
|
123
129
|
api 'com.facebook.react:react-native:+'
|
|
124
|
-
implementation 'com.revenuecat.purchases:purchases-hybrid-common:18.
|
|
130
|
+
implementation 'com.revenuecat.purchases:purchases-hybrid-common:18.37.0'
|
|
125
131
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
126
132
|
}
|
|
@@ -51,7 +51,7 @@ public class RNPurchasesModule extends ReactContextBaseJavaModule implements Upd
|
|
|
51
51
|
private static final String TRACKED_EVENT = "Purchases-TrackedEvent";
|
|
52
52
|
private static final String DEBUG_EVENT = "Purchases-DebugEvent";
|
|
53
53
|
public static final String PLATFORM_NAME = "react-native";
|
|
54
|
-
public static final String PLUGIN_VERSION = "10.9.
|
|
54
|
+
public static final String PLUGIN_VERSION = "10.9.1";
|
|
55
55
|
|
|
56
56
|
private final ReactApplicationContext reactContext;
|
|
57
57
|
|
|
@@ -43,7 +43,7 @@ var typeGuards_1 = require("./typeGuards");
|
|
|
43
43
|
var environment_1 = require("../utils/environment");
|
|
44
44
|
var utils_1 = require("./utils");
|
|
45
45
|
var purchaseSimulatedPackageHelper_1 = require("./simulatedstore/purchaseSimulatedPackageHelper");
|
|
46
|
-
var packageVersion = '10.9.
|
|
46
|
+
var packageVersion = '10.9.1';
|
|
47
47
|
/**
|
|
48
48
|
* Browser implementation of the native module. This will be used in the browser and Expo Go.
|
|
49
49
|
*/
|
package/ios/RNPurchases.m
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-purchases",
|
|
3
3
|
"title": "React Native Purchases",
|
|
4
|
-
"version": "10.9.
|
|
4
|
+
"version": "10.9.1",
|
|
5
5
|
"description": "React Native in-app purchases and subscriptions made easy. Supports iOS and Android. ",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
]
|
|
119
119
|
},
|
|
120
120
|
"dependencies": {
|
|
121
|
-
"@revenuecat/purchases-js-hybrid-mappings": "18.
|
|
122
|
-
"@revenuecat/purchases-typescript-internal": "18.
|
|
121
|
+
"@revenuecat/purchases-js-hybrid-mappings": "18.37.0",
|
|
122
|
+
"@revenuecat/purchases-typescript-internal": "18.37.0"
|
|
123
123
|
}
|
|
124
124
|
}
|