react-native-purchases 4.6.1 → 4.6.3
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
|
@@ -6,7 +6,7 @@ buildscript {
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
dependencies {
|
|
9
|
-
classpath 'com.android.tools.build:gradle:
|
|
9
|
+
classpath 'com.android.tools.build:gradle:7.2.0'
|
|
10
10
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -29,7 +29,7 @@ android {
|
|
|
29
29
|
minSdkVersion getExtOrIntegerDefault('minSdkVersion')
|
|
30
30
|
targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
|
|
31
31
|
versionCode 1
|
|
32
|
-
versionName '4.6.
|
|
32
|
+
versionName '4.6.3'
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
buildTypes {
|
|
@@ -121,6 +121,6 @@ def kotlin_version = getExtOrDefault('kotlinVersion')
|
|
|
121
121
|
dependencies {
|
|
122
122
|
//noinspection GradleDynamicVersion
|
|
123
123
|
api 'com.facebook.react:react-native:+'
|
|
124
|
-
implementation 'com.revenuecat.purchases:purchases-hybrid-common:2.0.
|
|
124
|
+
implementation 'com.revenuecat.purchases:purchases-hybrid-common:2.0.2'
|
|
125
125
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
126
126
|
}
|
|
@@ -43,7 +43,7 @@ public class RNPurchasesModule extends ReactContextBaseJavaModule implements Upd
|
|
|
43
43
|
|
|
44
44
|
private static final String PURCHASER_INFO_UPDATED = "Purchases-PurchaserInfoUpdated";
|
|
45
45
|
public static final String PLATFORM_NAME = "react-native";
|
|
46
|
-
public static final String PLUGIN_VERSION = "4.6.
|
|
46
|
+
public static final String PLUGIN_VERSION = "4.6.3";
|
|
47
47
|
|
|
48
48
|
private final ReactApplicationContext reactContext;
|
|
49
49
|
|
package/dist/purchaserInfo.d.ts
CHANGED
|
@@ -12,7 +12,6 @@ export interface PurchasesEntitlementInfo {
|
|
|
12
12
|
readonly isActive: boolean;
|
|
13
13
|
/**
|
|
14
14
|
* True if the underlying subscription is set to renew at the end of the billing period (expirationDate).
|
|
15
|
-
* Will always be True if entitlement is for lifetime access.
|
|
16
15
|
*/
|
|
17
16
|
readonly willRenew: boolean;
|
|
18
17
|
/**
|
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": "4.6.
|
|
4
|
+
"version": "4.6.3",
|
|
5
5
|
"description": "React Native in-app purchases and subscriptions made easy. Supports iOS and Android. ",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"ts-jest": "^24.1.0",
|
|
73
73
|
"tslint": "^5.20.0",
|
|
74
74
|
"tslint-config-prettier": "^1.18.0",
|
|
75
|
-
"typescript": "^
|
|
75
|
+
"typescript": "^4.9.3"
|
|
76
76
|
},
|
|
77
77
|
"jest": {
|
|
78
78
|
"preset": "react-native",
|