react-native-purchases 4.6.1 → 4.6.3

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", '2.0.1'
27
+ spec.dependency "PurchasesHybridCommon", '2.0.2'
28
28
  spec.swift_version = '5.0'
29
29
  end
@@ -6,7 +6,7 @@ buildscript {
6
6
  }
7
7
 
8
8
  dependencies {
9
- classpath 'com.android.tools.build:gradle:4.0.1'
9
+ classpath 'com.android.tools.build:gradle:7.2.0'
10
10
  classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11
11
  }
12
12
  }
@@ -29,7 +29,7 @@ android {
29
29
  minSdkVersion getExtOrIntegerDefault('minSdkVersion')
30
30
  targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
31
31
  versionCode 1
32
- versionName '4.6.1'
32
+ versionName '4.6.3'
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:2.0.1'
124
+ implementation 'com.revenuecat.purchases:purchases-hybrid-common:2.0.2'
125
125
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
126
126
  }
@@ -1,5 +1,5 @@
1
1
  android.useAndroidX=true
2
- Purchases_kotlinVersion=1.4.0
2
+ Purchases_kotlinVersion=1.6.21
3
3
  Purchases_compileSdkVersion=28
4
4
  Purchases_targetSdkVersion=28
5
5
  Purchases_minSdkVersion=16
@@ -43,7 +43,7 @@ public class RNPurchasesModule extends ReactContextBaseJavaModule implements Upd
43
43
 
44
44
  private static final String PURCHASER_INFO_UPDATED = "Purchases-PurchaserInfoUpdated";
45
45
  public static final String PLATFORM_NAME = "react-native";
46
- public static final String PLUGIN_VERSION = "4.6.1";
46
+ public static final String PLUGIN_VERSION = "4.6.3";
47
47
 
48
48
  private final ReactApplicationContext reactContext;
49
49
 
@@ -12,7 +12,6 @@ export interface PurchasesEntitlementInfo {
12
12
  readonly isActive: boolean;
13
13
  /**
14
14
  * True if the underlying subscription is set to renew at the end of the billing period (expirationDate).
15
- * Will always be True if entitlement is for lifetime access.
16
15
  */
17
16
  readonly willRenew: boolean;
18
17
  /**
package/ios/RNPurchases.m CHANGED
@@ -369,7 +369,7 @@ shouldPurchasePromoProduct:(SKProduct *)product
369
369
  }
370
370
 
371
371
  - (NSString *)platformFlavorVersion {
372
- return @"4.6.1";
372
+ return @"4.6.3";
373
373
  }
374
374
 
375
375
  @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": "4.6.1",
4
+ "version": "4.6.3",
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",
@@ -72,7 +72,7 @@
72
72
  "ts-jest": "^24.1.0",
73
73
  "tslint": "^5.20.0",
74
74
  "tslint-config-prettier": "^1.18.0",
75
- "typescript": "^3.8.3"
75
+ "typescript": "^4.9.3"
76
76
  },
77
77
  "jest": {
78
78
  "preset": "react-native",