@revenuecat/purchases-capacitor 9.0.4 → 9.0.6
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 +6 -5
- 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 +6 -0
- package/ios/Plugin/PurchasesPlugin.swift +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1704,10 +1704,11 @@ Listener used to receive log messages from the SDK.
|
|
|
1704
1704
|
|
|
1705
1705
|
#### IN_APP_MESSAGE_TYPE
|
|
1706
1706
|
|
|
1707
|
-
| Members | Value | Description
|
|
1708
|
-
| ---------------------------- | -------------- |
|
|
1709
|
-
| **`BILLING_ISSUE`** | <code>0</code> | In-app messages to indicate there has been a billing issue charging the user.
|
|
1710
|
-
| **`PRICE_INCREASE_CONSENT`** | <code>1</code> | iOS-only. This message will show if you increase the price of a subscription and the user needs to opt-in to the increase.
|
|
1711
|
-
| **`GENERIC`** | <code>2</code> | iOS-only. StoreKit generic messages.
|
|
1707
|
+
| Members | Value | Description |
|
|
1708
|
+
| ---------------------------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1709
|
+
| **`BILLING_ISSUE`** | <code>0</code> | In-app messages to indicate there has been a billing issue charging the user. |
|
|
1710
|
+
| **`PRICE_INCREASE_CONSENT`** | <code>1</code> | iOS-only. This message will show if you increase the price of a subscription and the user needs to opt-in to the increase. |
|
|
1711
|
+
| **`GENERIC`** | <code>2</code> | iOS-only. StoreKit generic messages. |
|
|
1712
|
+
| **`WIN_BACK_OFFER`** | <code>3</code> | iOS-only. This message will show if the subscriber is eligible for an iOS win-back offer and will allow the subscriber to redeem the offer. |
|
|
1712
1713
|
|
|
1713
1714
|
</docgen-api>
|
|
@@ -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 = '13.0'
|
|
15
15
|
s.dependency 'Capacitor'
|
|
16
|
-
s.dependency 'PurchasesHybridCommon', '13.
|
|
16
|
+
s.dependency 'PurchasesHybridCommon', '13.8.0'
|
|
17
17
|
s.swift_version = '5.1'
|
|
18
18
|
end
|
package/android/build.gradle
CHANGED
|
@@ -53,7 +53,7 @@ dependencies {
|
|
|
53
53
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
54
54
|
implementation project(':capacitor-android')
|
|
55
55
|
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
|
|
56
|
-
implementation 'com.revenuecat.purchases:purchases-hybrid-common:13.
|
|
56
|
+
implementation 'com.revenuecat.purchases:purchases-hybrid-common:13.8.0'
|
|
57
57
|
testImplementation "junit:junit:$junitVersion"
|
|
58
58
|
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
|
|
59
59
|
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
|
|
@@ -77,7 +77,7 @@ class PurchasesPlugin : Plugin() {
|
|
|
77
77
|
|
|
78
78
|
companion object {
|
|
79
79
|
private const val PLATFORM_NAME = "capacitor"
|
|
80
|
-
private const val PLUGIN_VERSION = "9.0.
|
|
80
|
+
private const val PLUGIN_VERSION = "9.0.6"
|
|
81
81
|
|
|
82
82
|
private const val CUSTOMER_INFO_KEY = "customerInfo"
|
|
83
83
|
}
|
package/dist/docs.json
CHANGED
|
@@ -3514,6 +3514,12 @@
|
|
|
3514
3514
|
"value": "2",
|
|
3515
3515
|
"tags": [],
|
|
3516
3516
|
"docs": "iOS-only. StoreKit generic messages."
|
|
3517
|
+
},
|
|
3518
|
+
{
|
|
3519
|
+
"name": "WIN_BACK_OFFER",
|
|
3520
|
+
"value": "3",
|
|
3521
|
+
"tags": [],
|
|
3522
|
+
"docs": "iOS-only. This message will show if the subscriber is eligible for an iOS win-back\noffer and will allow the subscriber to redeem the offer."
|
|
3517
3523
|
}
|
|
3518
3524
|
]
|
|
3519
3525
|
}
|
|
@@ -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 = "9.0.
|
|
15
|
+
private let platformVersion = "9.0.6"
|
|
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": "9.0.
|
|
3
|
+
"version": "9.0.6",
|
|
4
4
|
"description": "Capacitor in-app purchases and subscriptions made easy. Support for iOS and Android.",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -72,6 +72,6 @@
|
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@revenuecat/purchases-typescript-internal-esm": "13.
|
|
75
|
+
"@revenuecat/purchases-typescript-internal-esm": "13.8.0"
|
|
76
76
|
}
|
|
77
77
|
}
|