react-native-purchases 9.2.0 → 9.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.
@@ -25,6 +25,6 @@ Pod::Spec.new do |spec|
25
25
  ]
26
26
 
27
27
  spec.dependency "React-Core"
28
- spec.dependency "PurchasesHybridCommon", '16.2.0'
28
+ spec.dependency "PurchasesHybridCommon", '16.2.2'
29
29
  spec.swift_version = '5.7'
30
30
  end
@@ -29,7 +29,7 @@ android {
29
29
  minSdkVersion getExtOrIntegerDefault('minSdkVersion')
30
30
  targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
31
31
  versionCode 1
32
- versionName '9.2.0'
32
+ versionName '9.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:16.2.0'
124
+ implementation 'com.revenuecat.purchases:purchases-hybrid-common:16.2.2'
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 = "9.2.0";
50
+ public static final String PLUGIN_VERSION = "9.2.2";
51
51
 
52
52
  private final ReactApplicationContext reactContext;
53
53
 
@@ -1,4 +1,3 @@
1
- import 'react-native-get-random-values';
2
1
  import { MakePurchaseResult } from '@revenuecat/purchases-typescript-internal';
3
2
  /**
4
3
  * Browser implementation of the native module. This will be used in the browser and Expo Go.
@@ -37,7 +37,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.browserNativeModuleRNPurchases = void 0;
40
- require("react-native-get-random-values"); // needed to generate random Ids in purchases-js in RN apps.
41
40
  var purchases_typescript_internal_1 = require("@revenuecat/purchases-typescript-internal");
42
41
  var purchases_js_hybrid_mappings_1 = require("@revenuecat/purchases-js-hybrid-mappings");
43
42
  var utils_1 = require("./utils");
package/ios/RNPurchases.m CHANGED
@@ -657,7 +657,7 @@ readyForPromotedProduct:(RCStoreProduct *)product
657
657
  }
658
658
 
659
659
  - (NSString *)platformFlavorVersion {
660
- return @"9.2.0";
660
+ return @"9.2.2";
661
661
  }
662
662
 
663
663
  @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.2.0",
4
+ "version": "9.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
  "module": "dist/index.js",
@@ -115,7 +115,6 @@
115
115
  },
116
116
  "dependencies": {
117
117
  "@revenuecat/purchases-js-hybrid-mappings": "16.2.1",
118
- "@revenuecat/purchases-typescript-internal": "16.2.1",
119
- "react-native-get-random-values": "^1.11.0"
118
+ "@revenuecat/purchases-typescript-internal": "16.2.1"
120
119
  }
121
120
  }