@revenuecat/purchases-capacitor 11.2.0 → 11.2.2

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 CHANGED
@@ -1274,7 +1274,7 @@ Holds parameters to initialize the SDK.
1274
1274
  | **`pendingTransactionsForPrepaidPlansEnabled`** | <code>boolean</code> | Enable this setting if you want to allow pending purchases for prepaid subscriptions (only supported in Google Play). Note that entitlements are not granted until payment is done. Disabled by default. |
1275
1275
  | **`diagnosticsEnabled`** | <code>boolean</code> | Enabling diagnostics will send some performance and debugging information from the SDK to RevenueCat's servers. Examples of this information include response times, cache hits or error codes. No personal identifiable information will be collected. The default value is false. |
1276
1276
  | **`automaticDeviceIdentifierCollectionEnabled`** | <code>boolean</code> | Enable this setting to allow the collection of identifiers when setting the identifier for an attribution network. For example, when calling `Purchases.setAdjustID` or `Purchases.setAppsflyerID`, the SDK would collect some device identifiers, if available, and send them to RevenueCat. This is required by some attribution networks to attribute installs and re-installs. Enabling this setting does NOT mean we will always collect the identifiers. We will only do so when setting an attribution network ID AND the user has not limited ad tracking on their device. Default is enabled. |
1277
- | **`overridePreferredLocale`** | <code>string</code> | Override the preferred UI locale for RevenueCat UI components at runtime. This affects both API requests and UI rendering. If the locale changes, this will automatically clear the offerings cache and trigger a background refetch to get paywall templates with the correct localizations. |
1277
+ | **`preferredUILocaleOverride`** | <code>string</code> | Override the preferred UI locale for RevenueCat UI components at runtime. This affects both API requests and UI rendering. This will automatically clear the offerings cache and trigger a background refetch to get paywall templates with the correct localizations. |
1278
1278
 
1279
1279
 
1280
1280
  #### PurchasesVirtualCurrencies
@@ -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.5.0'
16
+ s.dependency 'PurchasesHybridCommon', '17.7.0'
17
17
  s.swift_version = '5.1'
18
18
  end
@@ -11,7 +11,7 @@ buildscript {
11
11
  mavenCentral()
12
12
  }
13
13
  dependencies {
14
- classpath 'com.android.tools.build:gradle:8.12.2'
14
+ classpath 'com.android.tools.build:gradle:8.13.0'
15
15
  classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.20'
16
16
  }
17
17
  }
@@ -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.5.0'
59
+ implementation 'com.revenuecat.purchases:purchases-hybrid-common:17.7.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.0"
86
+ private const val PLUGIN_VERSION = "11.2.2"
87
87
 
88
88
  private const val CUSTOMER_INFO_KEY = "customerInfo"
89
89
  }
package/dist/docs.json CHANGED
@@ -1686,14 +1686,14 @@
1686
1686
  "type": "boolean | undefined"
1687
1687
  },
1688
1688
  {
1689
- "name": "overridePreferredLocale",
1689
+ "name": "preferredUILocaleOverride",
1690
1690
  "tags": [
1691
1691
  {
1692
1692
  "text": "localeString - The locale string (e.g., \"es-ES\", \"en-US\") or null to use system default",
1693
1693
  "name": "param"
1694
1694
  }
1695
1695
  ],
1696
- "docs": "Override the preferred UI locale for RevenueCat UI components at runtime. This affects both API requests and UI rendering.\nIf the locale changes, this will automatically clear the offerings cache and trigger a background refetch to get paywall templates with the correct localizations.",
1696
+ "docs": "Override the preferred UI locale for RevenueCat UI components at runtime. This affects both API requests and UI rendering.\nThis will automatically clear the offerings cache and trigger a background refetch to get paywall templates with the correct localizations.",
1697
1697
  "complexTypes": [],
1698
1698
  "type": "string | undefined"
1699
1699
  }
@@ -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.0"
15
+ private let platformVersion = "11.2.2"
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.0",
3
+ "version": "11.2.2",
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.5.0"
76
+ "@revenuecat/purchases-typescript-internal-esm": "17.7.0"
77
77
  }
78
78
  }