react-native-purchases-ui 9.5.1 → 9.5.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.
package/RNPaywalls.podspec
CHANGED
@@ -17,6 +17,6 @@ Pod::Spec.new do |spec|
|
|
17
17
|
spec.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
|
18
18
|
|
19
19
|
spec.dependency "React-Core"
|
20
|
-
spec.dependency "PurchasesHybridCommonUI", '17.
|
20
|
+
spec.dependency "PurchasesHybridCommonUI", '17.9.0'
|
21
21
|
spec.swift_version = '5.7'
|
22
22
|
end
|
package/android/build.gradle
CHANGED
@@ -59,7 +59,7 @@ android {
|
|
59
59
|
minSdkVersion getExtOrIntegerDefault("minSdkVersion")
|
60
60
|
targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")
|
61
61
|
versionCode 1
|
62
|
-
versionName '9.5.
|
62
|
+
versionName '9.5.3'
|
63
63
|
}
|
64
64
|
|
65
65
|
buildTypes {
|
@@ -91,7 +91,7 @@ dependencies {
|
|
91
91
|
//noinspection GradleDynamicVersion
|
92
92
|
implementation "com.facebook.react:react-native:+"
|
93
93
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
94
|
-
implementation 'com.revenuecat.purchases:purchases-hybrid-common-ui:17.
|
94
|
+
implementation 'com.revenuecat.purchases:purchases-hybrid-common-ui:17.9.0'
|
95
95
|
implementation 'androidx.compose.ui:ui-android:1.5.4'
|
96
96
|
implementation "androidx.appcompat:appcompat:1.6.1"
|
97
97
|
}
|
@@ -8,7 +8,7 @@ var _reactNative = require("react-native");
|
|
8
8
|
/**
|
9
9
|
* Detects if the app is running in an environment where native modules are not available
|
10
10
|
* (like Expo Go or Web) or if the required native modules are missing.
|
11
|
-
*
|
11
|
+
*
|
12
12
|
* @returns {boolean} True if the app is running in an environment where native modules are not available
|
13
13
|
* (like Expo Go or Web) or if the required native modules are missing.
|
14
14
|
*/
|
@@ -3,7 +3,7 @@ import { NativeModules, Platform } from "react-native";
|
|
3
3
|
/**
|
4
4
|
* Detects if the app is running in an environment where native modules are not available
|
5
5
|
* (like Expo Go or Web) or if the required native modules are missing.
|
6
|
-
*
|
6
|
+
*
|
7
7
|
* @returns {boolean} True if the app is running in an environment where native modules are not available
|
8
8
|
* (like Expo Go or Web) or if the required native modules are missing.
|
9
9
|
*/
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-native-purchases-ui",
|
3
3
|
"title": "React Native Purchases UI",
|
4
|
-
"version": "9.5.
|
4
|
+
"version": "9.5.3",
|
5
5
|
"description": "React Native in-app purchases and subscriptions made easy. Supports iOS and Android.",
|
6
6
|
"main": "lib/commonjs/index",
|
7
7
|
"module": "lib/module/index",
|
@@ -32,7 +32,8 @@
|
|
32
32
|
"test": "jest",
|
33
33
|
"typecheck": "tsc --noEmit",
|
34
34
|
"tslint": "tslint -c tslint.json 'src/*.ts'",
|
35
|
-
"prepare": "bob build"
|
35
|
+
"prepare": "bob build",
|
36
|
+
"apitest": "echo \"Running react-native-purchases-ui API type checks\" && tsc --project apitesters/tsconfig.json"
|
36
37
|
},
|
37
38
|
"repository": {
|
38
39
|
"type": "git",
|
@@ -77,7 +78,7 @@
|
|
77
78
|
"peerDependencies": {
|
78
79
|
"react": "*",
|
79
80
|
"react-native": ">= 0.73.0",
|
80
|
-
"react-native-purchases": "9.5.
|
81
|
+
"react-native-purchases": "9.5.3",
|
81
82
|
"react-native-web": "*"
|
82
83
|
},
|
83
84
|
"peerDependenciesMeta": {
|
@@ -122,6 +123,6 @@
|
|
122
123
|
]
|
123
124
|
},
|
124
125
|
"dependencies": {
|
125
|
-
"@revenuecat/purchases-typescript-internal": "17.
|
126
|
+
"@revenuecat/purchases-typescript-internal": "17.9.0"
|
126
127
|
}
|
127
128
|
}
|
package/src/utils/environment.ts
CHANGED
@@ -3,7 +3,7 @@ import { NativeModules, Platform } from "react-native";
|
|
3
3
|
/**
|
4
4
|
* Detects if the app is running in an environment where native modules are not available
|
5
5
|
* (like Expo Go or Web) or if the required native modules are missing.
|
6
|
-
*
|
6
|
+
*
|
7
7
|
* @returns {boolean} True if the app is running in an environment where native modules are not available
|
8
8
|
* (like Expo Go or Web) or if the required native modules are missing.
|
9
9
|
*/
|