react-native-purchases 11.0.2 → 11.0.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/Package.swift CHANGED
@@ -15,7 +15,7 @@ let package = Package(
15
15
  // Resolved from the autolinker's ios/build/generated/autolinking/libs/<SwiftPM name>
16
16
  // symlink: four levels up reaches ios/build, where RN generates xcframeworks.
17
17
  .package(name: "ReactNative", path: "../../../../xcframeworks"),
18
- .package(url: "https://github.com/RevenueCat/purchases-hybrid-common", exact: "20.7.0"),
18
+ .package(url: "https://github.com/RevenueCat/purchases-hybrid-common", exact: "20.10.0"),
19
19
  ],
20
20
  targets: [
21
21
  .target(
@@ -25,6 +25,6 @@ Pod::Spec.new do |spec|
25
25
  ]
26
26
 
27
27
  spec.dependency "React-Core"
28
- spec.dependency "PurchasesHybridCommon", '20.7.0'
28
+ spec.dependency "PurchasesHybridCommon", '20.10.0'
29
29
  spec.swift_version = '5.7'
30
30
  end
@@ -35,7 +35,7 @@ android {
35
35
  minSdkVersion getExtOrIntegerDefault('minSdkVersion')
36
36
  targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
37
37
  versionCode 1
38
- versionName '11.0.2'
38
+ versionName '11.0.4'
39
39
  }
40
40
 
41
41
  buildTypes {
@@ -127,6 +127,6 @@ def kotlin_version = getExtOrDefault('kotlinVersion')
127
127
  dependencies {
128
128
  //noinspection GradleDynamicVersion
129
129
  api 'com.facebook.react:react-native:+'
130
- implementation 'com.revenuecat.purchases:purchases-hybrid-common:20.7.0'
130
+ implementation 'com.revenuecat.purchases:purchases-hybrid-common:20.10.0'
131
131
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
132
132
  }
@@ -51,7 +51,7 @@ public class RNPurchasesModule extends ReactContextBaseJavaModule implements Upd
51
51
  private static final String TRACKED_EVENT = "Purchases-TrackedEvent";
52
52
  private static final String DEBUG_EVENT = "Purchases-DebugEvent";
53
53
  public static final String PLATFORM_NAME = "react-native";
54
- public static final String PLUGIN_VERSION = "11.0.2";
54
+ public static final String PLUGIN_VERSION = "11.0.4";
55
55
 
56
56
  private final ReactApplicationContext reactContext;
57
57
 
@@ -43,7 +43,7 @@ var typeGuards_1 = require("./typeGuards");
43
43
  var environment_1 = require("../utils/environment");
44
44
  var utils_1 = require("./utils");
45
45
  var purchaseSimulatedPackageHelper_1 = require("./simulatedstore/purchaseSimulatedPackageHelper");
46
- var packageVersion = '11.0.2';
46
+ var packageVersion = '11.0.4';
47
47
  /**
48
48
  * Browser implementation of the native module. This will be used in the browser and Expo Go.
49
49
  */
package/dist/purchases.js CHANGED
@@ -184,8 +184,8 @@ var Purchases = /** @class */ (function () {
184
184
  * @warning If you use purchasesAreCompletedBy=PurchasesAreCompletedByMyApp, you must also provide a value for storeKitVersion.
185
185
  */
186
186
  Purchases.configure = function (configuration) {
187
- var apiKey = configuration.apiKey, _a = configuration.appUserID, appUserID = _a === void 0 ? null : _a, _b = configuration.purchasesAreCompletedBy, purchasesAreCompletedBy = _b === void 0 ? purchases_typescript_internal_1.PURCHASES_ARE_COMPLETED_BY_TYPE.REVENUECAT : _b, userDefaultsSuiteName = configuration.userDefaultsSuiteName, _c = configuration.storeKitVersion, storeKitVersion = _c === void 0 ? purchases_typescript_internal_1.STOREKIT_VERSION.DEFAULT : _c, _d = configuration.useAmazon, useAmazon = _d === void 0 ? false : _d, _e = configuration.shouldShowInAppMessagesAutomatically, shouldShowInAppMessagesAutomatically = _e === void 0 ? true : _e, _f = configuration.entitlementVerificationMode, entitlementVerificationMode = _f === void 0 ? purchases_typescript_internal_1.ENTITLEMENT_VERIFICATION_MODE.DISABLED : _f, _g = configuration.pendingTransactionsForPrepaidPlansEnabled, pendingTransactionsForPrepaidPlansEnabled = _g === void 0 ? false : _g, _h = configuration.diagnosticsEnabled, diagnosticsEnabled = _h === void 0 ? false : _h, _j = configuration.automaticDeviceIdentifierCollectionEnabled, automaticDeviceIdentifierCollectionEnabled = _j === void 0 ? true : _j, preferredUILocaleOverride = configuration.preferredUILocaleOverride, _k = configuration.useExternalPurchaseCustomLinks, useExternalPurchaseCustomLinks = _k === void 0 ? false : _k, _l = configuration.enableExternalPurchasesInSimulator, enableExternalPurchasesInSimulator = _l === void 0 ? true : _l;
188
- var _m = configuration, store = _m.store, galaxyBillingMode = _m.galaxyBillingMode;
187
+ var apiKey = configuration.apiKey, appUserID = configuration.appUserID, _a = configuration.purchasesAreCompletedBy, purchasesAreCompletedBy = _a === void 0 ? purchases_typescript_internal_1.PURCHASES_ARE_COMPLETED_BY_TYPE.REVENUECAT : _a, userDefaultsSuiteName = configuration.userDefaultsSuiteName, _b = configuration.storeKitVersion, storeKitVersion = _b === void 0 ? purchases_typescript_internal_1.STOREKIT_VERSION.DEFAULT : _b, _c = configuration.useAmazon, useAmazon = _c === void 0 ? false : _c, _d = configuration.shouldShowInAppMessagesAutomatically, shouldShowInAppMessagesAutomatically = _d === void 0 ? true : _d, _e = configuration.entitlementVerificationMode, entitlementVerificationMode = _e === void 0 ? purchases_typescript_internal_1.ENTITLEMENT_VERIFICATION_MODE.DISABLED : _e, _f = configuration.pendingTransactionsForPrepaidPlansEnabled, pendingTransactionsForPrepaidPlansEnabled = _f === void 0 ? false : _f, _g = configuration.diagnosticsEnabled, diagnosticsEnabled = _g === void 0 ? false : _g, _h = configuration.automaticDeviceIdentifierCollectionEnabled, automaticDeviceIdentifierCollectionEnabled = _h === void 0 ? true : _h, preferredUILocaleOverride = configuration.preferredUILocaleOverride, _j = configuration.useExternalPurchaseCustomLinks, useExternalPurchaseCustomLinks = _j === void 0 ? false : _j, _k = configuration.enableExternalPurchasesInSimulator, enableExternalPurchasesInSimulator = _k === void 0 ? true : _k;
188
+ var _l = configuration, store = _l.store, galaxyBillingMode = _l.galaxyBillingMode;
189
189
  throwIfNativeModuleNotAvailable();
190
190
  if (!customLogHandler) {
191
191
  this.setLogHandler(function (logLevel, message) {
package/ios/RNPurchases.m CHANGED
@@ -813,7 +813,7 @@ readyForPromotedProduct:(RCStoreProduct *)product
813
813
  }
814
814
 
815
815
  - (NSString *)platformFlavorVersion {
816
- return @"11.0.2";
816
+ return @"11.0.4";
817
817
  }
818
818
 
819
819
  @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": "11.0.2",
4
+ "version": "11.0.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
  "module": "dist/index.js",
@@ -129,7 +129,7 @@
129
129
  ]
130
130
  },
131
131
  "dependencies": {
132
- "@revenuecat/purchases-js-hybrid-mappings": "20.7.0",
133
- "@revenuecat/purchases-typescript-internal": "20.7.0"
132
+ "@revenuecat/purchases-js-hybrid-mappings": "20.10.0",
133
+ "@revenuecat/purchases-typescript-internal": "20.10.0"
134
134
  }
135
135
  }