react-native-purchases 7.16.1 → 7.17.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/RNPurchases.podspec
CHANGED
|
@@ -20,10 +20,11 @@ Pod::Spec.new do |spec|
|
|
|
20
20
|
# developers who don't want to use Cocoapods
|
|
21
21
|
spec.exclude_files = [
|
|
22
22
|
"ios/Purchases.framework",
|
|
23
|
-
"ios/PurchasesHybridCommon.framework"
|
|
23
|
+
"ios/PurchasesHybridCommon.framework",
|
|
24
|
+
"ios/PurchasesHybridCommonUI.framework"
|
|
24
25
|
]
|
|
25
26
|
|
|
26
27
|
spec.dependency "React-Core"
|
|
27
|
-
spec.dependency "PurchasesHybridCommon", '
|
|
28
|
+
spec.dependency "PurchasesHybridCommon", '9.2.0'
|
|
28
29
|
spec.swift_version = '5.7'
|
|
29
30
|
end
|
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 '7.
|
|
32
|
+
versionName '7.17.1'
|
|
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:
|
|
124
|
+
implementation 'com.revenuecat.purchases:purchases-hybrid-common:9.2.0'
|
|
125
125
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
126
126
|
}
|
|
@@ -45,7 +45,7 @@ public class RNPurchasesModule extends ReactContextBaseJavaModule implements Upd
|
|
|
45
45
|
private static final String CUSTOMER_INFO_UPDATED = "Purchases-CustomerInfoUpdated";
|
|
46
46
|
private static final String LOG_HANDLER_EVENT = "Purchases-LogHandlerEvent";
|
|
47
47
|
public static final String PLATFORM_NAME = "react-native";
|
|
48
|
-
public static final String PLUGIN_VERSION = "7.
|
|
48
|
+
public static final String PLUGIN_VERSION = "7.17.1";
|
|
49
49
|
|
|
50
50
|
private final ReactApplicationContext reactContext;
|
|
51
51
|
|
package/ios/RNPurchases.m
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": "7.
|
|
4
|
+
"version": "7.17.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",
|
|
@@ -66,44 +66,39 @@
|
|
|
66
66
|
"react-native": ">= 0.58.2"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@types/jest": "^
|
|
70
|
-
"@types/react": "
|
|
71
|
-
"@types/react-
|
|
72
|
-
"jest": "^
|
|
69
|
+
"@types/jest": "^28.1.2",
|
|
70
|
+
"@types/react": "~18.2.0",
|
|
71
|
+
"@types/react-dom": "~18.2.0",
|
|
72
|
+
"jest": "^28.1.1",
|
|
73
73
|
"jest-react-native": "^18.0.0",
|
|
74
74
|
"pod-install": "^0.1.0",
|
|
75
75
|
"prettier": "^2.0.5",
|
|
76
|
-
"react": "
|
|
77
|
-
"react-native": "
|
|
76
|
+
"react": "18.2.0",
|
|
77
|
+
"react-native": "0.73.1",
|
|
78
78
|
"ts-jest": "^24.1.0",
|
|
79
79
|
"tslint": "^5.20.0",
|
|
80
80
|
"tslint-config-prettier": "^1.18.0",
|
|
81
81
|
"typedoc": "^0.23.21",
|
|
82
82
|
"typescript": "^4.9.3"
|
|
83
83
|
},
|
|
84
|
+
"resolutions": {
|
|
85
|
+
"@types/react": "18.2.0",
|
|
86
|
+
"@types/react-native": "0.73.1",
|
|
87
|
+
"@types/react-dom": "18.2.0"
|
|
88
|
+
},
|
|
84
89
|
"jest": {
|
|
85
90
|
"preset": "react-native",
|
|
86
91
|
"modulePathIgnorePatterns": [
|
|
87
|
-
"<rootDir>/examples/purchaseTesterTypescript/
|
|
92
|
+
"<rootDir>/examples/purchaseTesterTypescript/",
|
|
93
|
+
"<rootDir>/react-native-purchases-ui/",
|
|
88
94
|
"<rootDir>/dir/"
|
|
89
95
|
],
|
|
90
|
-
"moduleFileExtensions": [
|
|
91
|
-
"js"
|
|
92
|
-
],
|
|
93
|
-
"transform": {
|
|
94
|
-
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
|
|
95
|
-
},
|
|
96
|
-
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.js$",
|
|
97
|
-
"testPathIgnorePatterns": [
|
|
98
|
-
"\\.snap$",
|
|
99
|
-
"<rootDir>/node_modules/"
|
|
100
|
-
],
|
|
101
96
|
"cacheDirectory": ".jest/cache",
|
|
102
97
|
"setupFiles": [
|
|
103
98
|
"./scripts/setupJest.js"
|
|
104
99
|
]
|
|
105
100
|
},
|
|
106
101
|
"dependencies": {
|
|
107
|
-
"@revenuecat/purchases-typescript-internal": "
|
|
102
|
+
"@revenuecat/purchases-typescript-internal": "9.2.0"
|
|
108
103
|
}
|
|
109
104
|
}
|