react-native-purchases 9.7.4 → 9.7.5
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/android/build.gradle
CHANGED
|
@@ -50,7 +50,7 @@ public class RNPurchasesModule extends ReactContextBaseJavaModule implements Upd
|
|
|
50
50
|
private static final String LOG_HANDLER_EVENT = "Purchases-LogHandlerEvent";
|
|
51
51
|
private static final String TRACKED_EVENT = "Purchases-TrackedEvent";
|
|
52
52
|
public static final String PLATFORM_NAME = "react-native";
|
|
53
|
-
public static final String PLUGIN_VERSION = "9.7.
|
|
53
|
+
public static final String PLUGIN_VERSION = "9.7.5";
|
|
54
54
|
|
|
55
55
|
private final ReactApplicationContext reactContext;
|
|
56
56
|
|
package/ios/RNPurchases.m
CHANGED
|
@@ -28,7 +28,7 @@ typedef void (^StartPurchaseBlock)(PurchaseCompletedBlock);
|
|
|
28
28
|
NSString *RNPurchasesCustomerInfoUpdatedEvent = @"Purchases-CustomerInfoUpdated";
|
|
29
29
|
NSString *RNPurchasesShouldPurchasePromoProductEvent = @"Purchases-ShouldPurchasePromoProduct";
|
|
30
30
|
NSString *RNPurchasesLogHandlerEvent = @"Purchases-LogHandlerEvent";
|
|
31
|
-
|
|
31
|
+
NSString *RNPurchasesTrackedEvent = @"Purchases-TrackedEvent";
|
|
32
32
|
|
|
33
33
|
@implementation RNPurchases
|
|
34
34
|
|
|
@@ -39,7 +39,8 @@ NSString *RNPurchasesLogHandlerEvent = @"Purchases-LogHandlerEvent";
|
|
|
39
39
|
- (NSArray<NSString *> *)supportedEvents {
|
|
40
40
|
return @[RNPurchasesCustomerInfoUpdatedEvent,
|
|
41
41
|
RNPurchasesShouldPurchasePromoProductEvent,
|
|
42
|
-
RNPurchasesLogHandlerEvent
|
|
42
|
+
RNPurchasesLogHandlerEvent,
|
|
43
|
+
RNPurchasesTrackedEvent];
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
- (void)sendEventWithName:(NSString *)name body:(id)body {
|
|
@@ -672,7 +673,7 @@ readyForPromotedProduct:(RCStoreProduct *)product
|
|
|
672
673
|
}
|
|
673
674
|
|
|
674
675
|
- (NSString *)platformFlavorVersion {
|
|
675
|
-
return @"9.7.
|
|
676
|
+
return @"9.7.5";
|
|
676
677
|
}
|
|
677
678
|
|
|
678
679
|
@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": "9.7.
|
|
4
|
+
"version": "9.7.5",
|
|
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",
|