react-native-purchases 4.5.0 → 4.5.1
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/android/build.gradle +1 -1
- package/android/build.gradle.bck +1 -1
- package/ios/RNPurchases.h +0 -4
- package/ios/RNPurchases.m +1 -1
- package/ios/RNPurchases.m.bck +1 -1
- package/package.json +1 -1
- package/android/.classpath +0 -6
- package/android/.project +0 -34
- package/android/.settings/org.eclipse.buildship.core.prefs +0 -13
- package/scripts/build.js.bck +0 -19
package/android/build.gradle
CHANGED
package/android/build.gradle.bck
CHANGED
package/ios/RNPurchases.h
CHANGED
|
@@ -3,11 +3,7 @@
|
|
|
3
3
|
// Copyright © 2019 RevenueCat. All rights reserved.
|
|
4
4
|
//
|
|
5
5
|
|
|
6
|
-
#if __has_include("RCTEventEmitter.h")
|
|
7
|
-
#import "RCTEventEmitter.h"
|
|
8
|
-
#else
|
|
9
6
|
#import <React/RCTEventEmitter.h>
|
|
10
|
-
#endif
|
|
11
7
|
|
|
12
8
|
#import <Purchases/RCPurchases.h>
|
|
13
9
|
#import <PurchasesHybridCommon/PurchasesHybridCommon.h>
|
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": "4.5.
|
|
4
|
+
"version": "4.5.1",
|
|
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",
|
package/android/.classpath
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<classpath>
|
|
3
|
-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
|
|
4
|
-
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
|
|
5
|
-
<classpathentry kind="output" path="bin/default"/>
|
|
6
|
-
</classpath>
|
package/android/.project
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<projectDescription>
|
|
3
|
-
<name>android</name>
|
|
4
|
-
<comment>Project ReactNativeSample-react-native-purchases created by Buildship.</comment>
|
|
5
|
-
<projects>
|
|
6
|
-
</projects>
|
|
7
|
-
<buildSpec>
|
|
8
|
-
<buildCommand>
|
|
9
|
-
<name>org.eclipse.jdt.core.javabuilder</name>
|
|
10
|
-
<arguments>
|
|
11
|
-
</arguments>
|
|
12
|
-
</buildCommand>
|
|
13
|
-
<buildCommand>
|
|
14
|
-
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
|
|
15
|
-
<arguments>
|
|
16
|
-
</arguments>
|
|
17
|
-
</buildCommand>
|
|
18
|
-
</buildSpec>
|
|
19
|
-
<natures>
|
|
20
|
-
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
21
|
-
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
|
22
|
-
</natures>
|
|
23
|
-
<filteredResources>
|
|
24
|
-
<filter>
|
|
25
|
-
<id>0</id>
|
|
26
|
-
<name></name>
|
|
27
|
-
<type>30</type>
|
|
28
|
-
<matcher>
|
|
29
|
-
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
|
30
|
-
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
|
31
|
-
</matcher>
|
|
32
|
-
</filter>
|
|
33
|
-
</filteredResources>
|
|
34
|
-
</projectDescription>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
arguments=
|
|
2
|
-
auto.sync=false
|
|
3
|
-
build.scans.enabled=false
|
|
4
|
-
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
|
|
5
|
-
connection.project.dir=
|
|
6
|
-
eclipse.preferences.version=1
|
|
7
|
-
gradle.user.home=
|
|
8
|
-
java.home=/Users/cesardelavega/.sdkman/candidates/java/current
|
|
9
|
-
jvm.arguments=
|
|
10
|
-
offline.mode=false
|
|
11
|
-
override.workspace.settings=true
|
|
12
|
-
show.console.view=true
|
|
13
|
-
show.executions.view=true
|
package/scripts/build.js.bck
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
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.13.1"
|
|
9
|
-
);
|
|
10
|
-
downloadProcess.stdout.pipe(process.stdout);
|
|
11
|
-
const downloadProcessCommon = exec(
|
|
12
|
-
"./scripts/download-purchases-common.sh 1.10.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
|
-
}
|