Skip to content

Releases: RevenueCat/purchases-capacitor

7.3.0

06 Dec 19:03
Compare
Choose a tag to compare

Dependency Updates

7.2.0

23 Nov 10:59
Compare
Choose a tag to compare

New Features

  • Trusted entitlements: Add trusted entitlements support (#157) via Toni Rico (@tonidero)

Dependency Updates

Other Changes

7.1.1

15 Nov 18:53
Compare
Choose a tag to compare

Dependency Updates

7.1.0

09 Nov 15:49
Compare
Choose a tag to compare

Other Changes

  • Fix missing gitignore causing release process errors via Toni Rico (@tonidero)

Dependency Updates

7.0.0

05 Oct 11:43
28a4b5d
Compare
Choose a tag to compare

RevenueCat Capacitor SDK v7 is here!! 😻

This latest release updates the SDK to use BillingClient 6 in Android. This version of BillingClient brings little change compared with BillingClient 5 which brought an entire new subscription model which resulted in large changes across the entire SDK.

The only modification at the API level involves replacing "ProrationMode" with "ReplacementMode". The specific replacement modes remain unchanged.

If your app doesn't currently use DEFERRED replacement modes, then you should be safe to upgrade to this version without changes in behavior.

If your app supports product changes using DEFERRED replacement mode, then you can either stick with the previous major version until support for DEFERRED is re-introduced in this major version, or you can remove DEFERRED replacement options from your app.

If you are using the SDK in observer mode, you should only use v7 in Android if you're using BillingClient 6.

See the Android Native - 6.x to 7.x Migration for more details.

If you come from an older version of the RevenueCat SDK, see Android Native - 5.x to 6.x Migration for a more thorough explanation of the new Google subscription model announced with BillingClient 5 and how to take advantage of it.

Bumped minimum Android SDK version

RevenueCat SDK v7 bumps minimum Android SDK version from Android 4.0 (API level 16) to Android 4.4 (API level 19).

Support for InApp Messages

We've added new APIs to support InApp messages both in Android and iOS. You can read more about:

  • Google Play InApp Messages which will show users a snackbar message during grace period and account hold once per day and provide them an opportunity to fix their payment without leaving the app.
  • App Store InApp messages which will show a modal during grace period once per subscription.

InApp Messages are shown by default in both platforms. If you want to disable this behaviour during configuration of the RevenueCat SDK, setup the shouldShowInAppMessagesAutomatically property during configuration to false:

  Purchases.configure({
    apiKey,
    appUserID,
    observerMode,
    userDefaultsSuiteName,
    usesStoreKit2IfAvailable,
    useAmazon,
    shouldShowInAppMessagesAutomatically
  });

Dependency Updates

6.1.0

03 Oct 10:04
Compare
Choose a tag to compare

Dependency Updates

Other Changes

6.0.0

15 Sep 08:11
Compare
Choose a tag to compare

RevenueCat Capacitor SDK v6 is here!! 😻

Important Announcement: Official Ownership Transition

We are thrilled to announce that RevenueCat has officially taken over the ownership and development of this plugin from @riderx.
This transition marks the beginning of a new chapter for Capacitor Purchases, as it becomes the official plugin supported by RevenueCat.
As a part of this transition, the plugin's npm package has moved from @capgo/capacitor-purchases to @revenuecat/purchases-capacitor.

A Heartfelt Thank You to @riderx and @Cap-go

We want to extend our deepest gratitude to @riderx and @Cap-go for their incredible work on Capacitor Purchases.
Their dedication and skill have laid a strong foundation for the plugin's future.
We are committed to continuing the legacy of excellence they have established.

What's New in This Release

With this transition, we are also excited to introduce new features and improvements that enhance the plugin's performance, usability, and functionality:

  • This release updates the SDK to use BillingClient 5 in Android. This version of BillingClient brings an entire new subscription model which has resulted in large changes across the entire SDK.
  • We are adding new functionality previously not available in this plugin to make it as powerful as our other SDKs. Some of these features include:
    • Use getProducts and purchaseStoreProduct if you're not using RevenueCat offerings system to still allow purchases
    • Set attributes in our SDK so they are available in RevenueCat and any integrations that you use. For example setEmail, setAppsflyerID, setFirebaseAppInstanceID,...
    • Begin a refund request from the SDK in iOS
    • Promotional purchases in iOS
    • And much more.
  • Please see a list of our new APIs in our v6 migration doc

Future Roadmap

As the new stewards of Capacitor Purchases, we have big plans for its continued development and improvement. Stay tuned for regular updates, new features, and top-notch support.

Migration Guides

  • See the full list of API changes in our v6 migration doc

  • See Android Native - 5.x to 6.x Migration for a
    more thorough explanation of the new Google subscription model announced with BillingClient 5 and how to take
    advantage of it in V6. This guide includes tips on product setup with the new model.

6.0.0-beta.2

06 Sep 15:09
Compare
Choose a tag to compare
6.0.0-beta.2 Pre-release
Pre-release
  • Use @revenuecat/purchases-typescript-internal-esm instead of @revenuecat/purchases-typescript-internal for compatibility with ESNext systems #98
    • Note this may be a breaking change in some cases when upgrading from beta 1
  • Fix issue in iOS <16.0 #100

6.0.0-beta.1

31 Aug 10:55
Compare
Choose a tag to compare
6.0.0-beta.1 Pre-release
Pre-release
Update to latest methods to parse customer info into dict