@revenuecat/purchases-capacitor 11.2.5 → 11.2.7
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/README.md +2 -1
- package/RevenuecatPurchasesCapacitor.podspec +1 -1
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/revenuecat/purchases/capacitor/PurchasesPlugin.kt +1 -1
- package/dist/docs.json +10 -0
- package/ios/Plugin/PurchasesPlugin.swift +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1821,7 +1821,7 @@ The result of a redemption attempt.
|
|
|
1821
1821
|
|
|
1822
1822
|
The supported stores for purchases.
|
|
1823
1823
|
|
|
1824
|
-
<code>"PLAY_STORE" | "APP_STORE" | "STRIPE" | "MAC_APP_STORE" | "PROMOTIONAL" | "AMAZON" | "RC_BILLING" | "EXTERNAL" | "PADDLE" | "UNKNOWN_STORE"</code>
|
|
1824
|
+
<code>"PLAY_STORE" | "APP_STORE" | "STRIPE" | "MAC_APP_STORE" | "PROMOTIONAL" | "AMAZON" | "RC_BILLING" | "EXTERNAL" | "PADDLE" | "TEST_STORE" | "UNKNOWN_STORE"</code>
|
|
1825
1825
|
|
|
1826
1826
|
|
|
1827
1827
|
#### OwnershipType
|
|
@@ -1957,6 +1957,7 @@ Listener used to receive log messages from the SDK.
|
|
|
1957
1957
|
| **`API_ENDPOINT_BLOCKED`** | <code>"33"</code> |
|
|
1958
1958
|
| **`INVALID_PROMOTIONAL_OFFER_ERROR`** | <code>"34"</code> |
|
|
1959
1959
|
| **`OFFLINE_CONNECTION_ERROR`** | <code>"35"</code> |
|
|
1960
|
+
| **`TEST_STORE_SIMULATED_PURCHASE_ERROR`** | <code>"42"</code> |
|
|
1960
1961
|
|
|
1961
1962
|
|
|
1962
1963
|
#### PACKAGE_TYPE
|
|
@@ -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 = '14.0'
|
|
15
15
|
s.dependency 'Capacitor'
|
|
16
|
-
s.dependency 'PurchasesHybridCommon', '17.
|
|
16
|
+
s.dependency 'PurchasesHybridCommon', '17.10.0'
|
|
17
17
|
s.swift_version = '5.1'
|
|
18
18
|
end
|
package/android/build.gradle
CHANGED
|
@@ -56,7 +56,7 @@ dependencies {
|
|
|
56
56
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
57
57
|
implementation project(':capacitor-android')
|
|
58
58
|
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
|
|
59
|
-
implementation 'com.revenuecat.purchases:purchases-hybrid-common:17.
|
|
59
|
+
implementation 'com.revenuecat.purchases:purchases-hybrid-common:17.10.0'
|
|
60
60
|
testImplementation "junit:junit:$junitVersion"
|
|
61
61
|
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
|
|
62
62
|
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
|
|
@@ -83,7 +83,7 @@ class PurchasesPlugin : Plugin() {
|
|
|
83
83
|
|
|
84
84
|
companion object {
|
|
85
85
|
private const val PLATFORM_NAME = "capacitor"
|
|
86
|
-
private const val PLUGIN_VERSION = "11.2.
|
|
86
|
+
private const val PLUGIN_VERSION = "11.2.7"
|
|
87
87
|
|
|
88
88
|
private const val CUSTOMER_INFO_KEY = "customerInfo"
|
|
89
89
|
}
|
package/dist/docs.json
CHANGED
|
@@ -4013,6 +4013,12 @@
|
|
|
4013
4013
|
"value": "\"35\"",
|
|
4014
4014
|
"tags": [],
|
|
4015
4015
|
"docs": ""
|
|
4016
|
+
},
|
|
4017
|
+
{
|
|
4018
|
+
"name": "TEST_STORE_SIMULATED_PURCHASE_ERROR",
|
|
4019
|
+
"value": "\"42\"",
|
|
4020
|
+
"tags": [],
|
|
4021
|
+
"docs": ""
|
|
4016
4022
|
}
|
|
4017
4023
|
]
|
|
4018
4024
|
},
|
|
@@ -4550,6 +4556,10 @@
|
|
|
4550
4556
|
"text": "\"PADDLE\"",
|
|
4551
4557
|
"complexTypes": []
|
|
4552
4558
|
},
|
|
4559
|
+
{
|
|
4560
|
+
"text": "\"TEST_STORE\"",
|
|
4561
|
+
"complexTypes": []
|
|
4562
|
+
},
|
|
4553
4563
|
{
|
|
4554
4564
|
"text": "\"UNKNOWN_STORE\"",
|
|
4555
4565
|
"complexTypes": []
|
|
@@ -12,7 +12,7 @@ import RevenueCat
|
|
|
12
12
|
@objc(PurchasesPlugin)
|
|
13
13
|
public class PurchasesPlugin: CAPPlugin, PurchasesDelegate {
|
|
14
14
|
private let platformFlavor = "capacitor"
|
|
15
|
-
private let platformVersion = "11.2.
|
|
15
|
+
private let platformVersion = "11.2.7"
|
|
16
16
|
|
|
17
17
|
private let customerInfoKey = "customerInfo"
|
|
18
18
|
private let transactionKey = "transaction"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revenuecat/purchases-capacitor",
|
|
3
|
-
"version": "11.2.
|
|
3
|
+
"version": "11.2.7",
|
|
4
4
|
"description": "Capacitor in-app purchases and subscriptions made easy. Support for iOS and Android.",
|
|
5
5
|
"main": "dist/esm/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -73,6 +73,6 @@
|
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@revenuecat/purchases-typescript-internal-esm": "17.
|
|
76
|
+
"@revenuecat/purchases-typescript-internal-esm": "17.10.0"
|
|
77
77
|
}
|
|
78
78
|
}
|