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.
- package/RNPurchases.podspec +1 -1
- package/android/build.gradle +2 -2
- package/android/build.gradle.bck +2 -2
- package/ios/RNPurchases.m +1 -1
- package/ios/RNPurchases.m.bck +1 -1
- package/package.json +1 -1
- package/scripts/build.js.bck +19 -0
- package/scripts/docs/index.html +1 -1
- package/scripts/docs/index.html.bck +1 -1
package/RNPurchases.podspec
CHANGED
package/android/build.gradle
CHANGED
|
@@ -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.
|
|
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.
|
|
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/android/build.gradle.bck
CHANGED
|
@@ -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.
|
|
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.
|
|
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
package/ios/RNPurchases.m.bck
CHANGED
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
|
+
"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
|
+
}
|
package/scripts/docs/index.html
CHANGED
|
@@ -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.
|
|
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.
|
|
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>
|