react-native-purchases 6.6.3 → 6.6.4
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 '6.6.
|
|
32
|
+
versionName '6.6.4'
|
|
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:
|
|
124
|
+
implementation 'com.revenuecat.purchases:purchases-hybrid-common:6.1.0'
|
|
125
125
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
126
126
|
}
|
|
@@ -45,7 +45,7 @@ public class RNPurchasesModule extends ReactContextBaseJavaModule implements Upd
|
|
|
45
45
|
private static final String CUSTOMER_INFO_UPDATED = "Purchases-CustomerInfoUpdated";
|
|
46
46
|
private static final String LOG_HANDLER_EVENT = "Purchases-LogHandlerEvent";
|
|
47
47
|
public static final String PLATFORM_NAME = "react-native";
|
|
48
|
-
public static final String PLUGIN_VERSION = "6.6.
|
|
48
|
+
public static final String PLUGIN_VERSION = "6.6.4";
|
|
49
49
|
|
|
50
50
|
private final ReactApplicationContext reactContext;
|
|
51
51
|
|
package/ios/RNPurchases.m
CHANGED
|
@@ -390,7 +390,8 @@ RCT_EXPORT_METHOD(setLogHandler) {
|
|
|
390
390
|
#pragma mark -
|
|
391
391
|
#pragma mark Delegate Methods
|
|
392
392
|
- (void)purchases:(RCPurchases *)purchases receivedUpdatedCustomerInfo:(RCCustomerInfo *)customerInfo {
|
|
393
|
-
[self sendEventWithName:RNPurchasesCustomerInfoUpdatedEvent
|
|
393
|
+
[self sendEventWithName:RNPurchasesCustomerInfoUpdatedEvent
|
|
394
|
+
body:[RCCommonFunctionality encodeCustomerInfo:customerInfo]];
|
|
394
395
|
}
|
|
395
396
|
|
|
396
397
|
- (void)purchases:(RCPurchases *)purchases
|
|
@@ -442,7 +443,7 @@ readyForPromotedProduct:(RCStoreProduct *)product
|
|
|
442
443
|
}
|
|
443
444
|
|
|
444
445
|
- (NSString *)platformFlavorVersion {
|
|
445
|
-
return @"6.6.
|
|
446
|
+
return @"6.6.4";
|
|
446
447
|
}
|
|
447
448
|
|
|
448
449
|
@end
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-purchases",
|
|
3
3
|
"title": "React Native Purchases",
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.4",
|
|
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",
|
|
@@ -95,6 +95,6 @@
|
|
|
95
95
|
]
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"@revenuecat/purchases-typescript-internal": "
|
|
98
|
+
"@revenuecat/purchases-typescript-internal": "6.1.0"
|
|
99
99
|
}
|
|
100
100
|
}
|
package/scripts/docs/index.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<!DOCTYPE html>
|
|
3
3
|
<html>
|
|
4
4
|
<head>
|
|
5
|
-
<meta http-equiv="refresh" content="0; url=https://revenuecat.github.io/react-native-purchases-docs/6.6.
|
|
5
|
+
<meta http-equiv="refresh" content="0; url=https://revenuecat.github.io/react-native-purchases-docs/6.6.4/" />
|
|
6
6
|
</head>
|
|
7
7
|
<body>
|
|
8
8
|
</body>
|