react-native-purchases 5.0.0-beta.4 → 5.0.0-beta.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", '4.1.0'
27
+ spec.dependency "PurchasesHybridCommon", '4.1.1'
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 '5.0.0-beta.4'
32
+ versionName '5.0.0-beta.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:4.1.0'
124
+ implementation 'com.revenuecat.purchases:purchases-hybrid-common:4.1.1'
125
125
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
126
126
  }
@@ -29,7 +29,7 @@ android {
29
29
  minSdkVersion getExtOrIntegerDefault('minSdkVersion')
30
30
  targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
31
31
  versionCode 1
32
- versionName '5.0.0-beta.3'
32
+ versionName '5.0.0-beta.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:4.1.0'
124
+ implementation 'com.revenuecat.purchases:purchases-hybrid-common:4.1.1'
125
125
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
126
126
  }
package/ios/RNPurchases.m CHANGED
@@ -346,7 +346,7 @@ readyForPromotedProduct:(RCStoreProduct *)product
346
346
  }
347
347
 
348
348
  - (NSString *)platformFlavorVersion {
349
- return @"5.0.0-beta.4";
349
+ return @"5.0.0-beta.5";
350
350
  }
351
351
 
352
352
  @end
@@ -346,7 +346,7 @@ readyForPromotedProduct:(RCStoreProduct *)product
346
346
  }
347
347
 
348
348
  - (NSString *)platformFlavorVersion {
349
- return @"5.0.0-beta.3";
349
+ return @"5.0.0-beta.5";
350
350
  }
351
351
 
352
352
  @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": "5.0.0-beta.4",
4
+ "version": "5.0.0-beta.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",
@@ -0,0 +1,19 @@
1
+ const {exec} = require("child_process");
2
+ const os = require("os");
3
+
4
+ if (os.type() === "Linux") {
5
+ console.log("Skipping iOS Dependencies");
6
+ } else if (os.type() === "Darwin") {
7
+ const downloadProcess = exec(
8
+ "./scripts/download-purchases-framework.sh 3.14.1"
9
+ );
10
+ downloadProcess.stdout.pipe(process.stdout);
11
+ const downloadProcessCommon = exec(
12
+ "./scripts/download-purchases-common.sh 1.11.1"
13
+ );
14
+ downloadProcessCommon.stdout.pipe(process.stdout);
15
+ } else if (os.type() === "Windows_NT") {
16
+ console.log("Skipping iOS Dependencies");
17
+ } else {
18
+ throw new Error(`Unsupported OS found: ${os.type()}`);
19
+ }
@@ -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/5.0.0-beta.4/" />
5
+ <meta http-equiv="refresh" content="0; url=https://revenuecat.github.io/react-native-purchases-docs/5.0.0-beta.5/" />
6
6
  </head>
7
7
  <body>
8
8
  </body>
@@ -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/5.0.0-beta.3/" />
5
+ <meta http-equiv="refresh" content="0; url=https://revenuecat.github.io/react-native-purchases-docs/5.0.0-beta.5/" />
6
6
  </head>
7
7
  <body>
8
8
  </body>