react-native-purchases 8.2.0 → 8.2.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.
package/RNPurchases.podspec
CHANGED
package/android/build.gradle
CHANGED
|
@@ -29,7 +29,7 @@ android {
|
|
|
29
29
|
minSdkVersion getExtOrIntegerDefault('minSdkVersion')
|
|
30
30
|
targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
|
|
31
31
|
versionCode 1
|
|
32
|
-
versionName '8.2.
|
|
32
|
+
versionName '8.2.2'
|
|
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:13.
|
|
124
|
+
implementation 'com.revenuecat.purchases:purchases-hybrid-common:13.3.0'
|
|
125
125
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
126
126
|
}
|
|
@@ -47,7 +47,7 @@ public class RNPurchasesModule extends ReactContextBaseJavaModule implements Upd
|
|
|
47
47
|
private static final String CUSTOMER_INFO_UPDATED = "Purchases-CustomerInfoUpdated";
|
|
48
48
|
private static final String LOG_HANDLER_EVENT = "Purchases-LogHandlerEvent";
|
|
49
49
|
public static final String PLATFORM_NAME = "react-native";
|
|
50
|
-
public static final String PLUGIN_VERSION = "8.2.
|
|
50
|
+
public static final String PLUGIN_VERSION = "8.2.2";
|
|
51
51
|
|
|
52
52
|
private final ReactApplicationContext reactContext;
|
|
53
53
|
|
package/dist/purchases.d.ts
CHANGED
|
@@ -113,9 +113,11 @@ export default class Purchases {
|
|
|
113
113
|
*/
|
|
114
114
|
static configure({ apiKey, appUserID, purchasesAreCompletedBy, userDefaultsSuiteName, storeKitVersion, useAmazon, shouldShowInAppMessagesAutomatically, entitlementVerificationMode, pendingTransactionsForPrepaidPlansEnabled, }: PurchasesConfiguration): void;
|
|
115
115
|
/**
|
|
116
|
-
* @deprecated, configure behavior through the RevenueCat dashboard instead.
|
|
116
|
+
* @deprecated, configure behavior through the RevenueCat dashboard (app.revenuecat.com) instead.
|
|
117
117
|
* If an user tries to purchase a product that is active on the current app store account,
|
|
118
118
|
* we will treat it as a restore and alias the new ID with the previous id.
|
|
119
|
+
* If you have configured the Legacy restore behavior in the RevenueCat dashboard
|
|
120
|
+
* and are currently setting this to true, keep this setting active.
|
|
119
121
|
* @param {boolean} allowSharing Set this to true if you are passing in an appUserID but it is anonymous,
|
|
120
122
|
* this is true by default if you didn't pass an appUserID
|
|
121
123
|
* @returns {Promise<void>} The promise will be rejected if configure has not been called yet.
|
package/dist/purchases.js
CHANGED
|
@@ -116,9 +116,11 @@ var Purchases = /** @class */ (function () {
|
|
|
116
116
|
RNPurchases.setupPurchases(apiKey, appUserID, purchasesCompletedByToUse, userDefaultsSuiteName, storeKitVersionToUse, useAmazon, shouldShowInAppMessagesAutomatically, entitlementVerificationMode, pendingTransactionsForPrepaidPlansEnabled);
|
|
117
117
|
};
|
|
118
118
|
/**
|
|
119
|
-
* @deprecated, configure behavior through the RevenueCat dashboard instead.
|
|
119
|
+
* @deprecated, configure behavior through the RevenueCat dashboard (app.revenuecat.com) instead.
|
|
120
120
|
* If an user tries to purchase a product that is active on the current app store account,
|
|
121
121
|
* we will treat it as a restore and alias the new ID with the previous id.
|
|
122
|
+
* If you have configured the Legacy restore behavior in the RevenueCat dashboard
|
|
123
|
+
* and are currently setting this to true, keep this setting active.
|
|
122
124
|
* @param {boolean} allowSharing Set this to true if you are passing in an appUserID but it is anonymous,
|
|
123
125
|
* this is true by default if you didn't pass an appUserID
|
|
124
126
|
* @returns {Promise<void>} The promise will be rejected if configure has not been called yet.
|
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": "8.2.
|
|
4
|
+
"version": "8.2.2",
|
|
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",
|
|
@@ -100,6 +100,6 @@
|
|
|
100
100
|
]
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@revenuecat/purchases-typescript-internal": "13.
|
|
103
|
+
"@revenuecat/purchases-typescript-internal": "13.3.0"
|
|
104
104
|
}
|
|
105
105
|
}
|