@revenuecat/purchases-capacitor-ui 11.2.6 → 11.2.8
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.
|
@@ -13,6 +13,6 @@ Pod::Spec.new do |s|
|
|
|
13
13
|
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
|
|
14
14
|
s.ios.deployment_target = '15.0'
|
|
15
15
|
s.dependency 'Capacitor'
|
|
16
|
-
s.dependency 'PurchasesHybridCommonUI', '17.
|
|
16
|
+
s.dependency 'PurchasesHybridCommonUI', '17.11.0'
|
|
17
17
|
s.swift_version = '5.1'
|
|
18
18
|
end
|
package/android/build.gradle
CHANGED
|
@@ -51,6 +51,6 @@ repositories {
|
|
|
51
51
|
dependencies {
|
|
52
52
|
implementation project(':capacitor-android')
|
|
53
53
|
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
|
|
54
|
-
implementation 'com.revenuecat.purchases:purchases-hybrid-common-ui:17.
|
|
54
|
+
implementation 'com.revenuecat.purchases:purchases-hybrid-common-ui:17.11.0'
|
|
55
55
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.8.20"
|
|
56
56
|
}
|
|
@@ -145,7 +145,7 @@ private extension RevenueCatUIPlugin {
|
|
|
145
145
|
|
|
146
146
|
func processOfferingOptions(_ call: CAPPluginCall) -> [String: Any]? {
|
|
147
147
|
let offering = call.getObject("offering")
|
|
148
|
-
let offeringIdentifier =
|
|
148
|
+
let offeringIdentifier = offering?["identifier"] as? String
|
|
149
149
|
let availablePackages = offering?["availablePackages"] as? JSArray
|
|
150
150
|
let firstPackage = availablePackages?.first as? JSObject
|
|
151
151
|
let presentedOfferingContext = firstPackage?["presentedOfferingContext"] as? JSObject
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revenuecat/purchases-capacitor-ui",
|
|
3
|
-
"version": "11.2.
|
|
3
|
+
"version": "11.2.8",
|
|
4
4
|
"description": "UI components for RevenueCat Capacitor SDK",
|
|
5
5
|
"main": "dist/esm/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@capacitor/core": "^7.0.0",
|
|
63
63
|
"@revenuecat/purchases-capacitor": "^10.2.4",
|
|
64
|
-
"@revenuecat/purchases-typescript-internal-esm": "17.
|
|
64
|
+
"@revenuecat/purchases-typescript-internal-esm": "17.11.0"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"@capacitor/core": "^7.0.0"
|