react-native-purchases 6.6.3 → 6.6.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.
@@ -24,6 +24,6 @@ Pod::Spec.new do |spec|
24
24
  ]
25
25
 
26
26
  spec.dependency "React-Core"
27
- spec.dependency "PurchasesHybridCommon", '5.6.4'
27
+ spec.dependency "PurchasesHybridCommon", '6.1.2'
28
28
  spec.swift_version = '5.0'
29
29
  end
@@ -29,7 +29,7 @@ android {
29
29
  minSdkVersion getExtOrIntegerDefault('minSdkVersion')
30
30
  targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
31
31
  versionCode 1
32
- versionName '6.6.3'
32
+ versionName '6.6.5'
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:5.6.4'
124
+ implementation 'com.revenuecat.purchases:purchases-hybrid-common:6.1.2'
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.3";
48
+ public static final String PLUGIN_VERSION = "6.6.5";
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 body:customerInfo.dictionary];
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.3";
446
+ return @"6.6.5";
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.3",
4
+ "version": "6.6.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
  "types": "dist/index.d.ts",
@@ -95,6 +95,6 @@
95
95
  ]
96
96
  },
97
97
  "dependencies": {
98
- "@revenuecat/purchases-typescript-internal": "5.6.4"
98
+ "@revenuecat/purchases-typescript-internal": "6.1.2"
99
99
  }
100
100
  }
@@ -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.3/" />
5
+ <meta http-equiv="refresh" content="0; url=https://revenuecat.github.io/react-native-purchases-docs/6.6.5/" />
6
6
  </head>
7
7
  <body>
8
8
  </body>