NEW Support for Google Play Billing Library 5 and new subscription model
Our Android SDK now supports Google Play Billing Library 5, including multiple base plans per subscription and multiple offers per base plan.
If you want to make use of the new features available with Billing Library 5, review the docs for the simple steps you can take to adapt your existing code. Otherwise, no action is required and your existing products will continue functioning as expected.
Support for non backwards-compatible base plans
One of the major changes of the new SDK is that the Android SDK now supports multiple base plans per subscription. Previously, only the single base plan that showed up as "backwards compatible" could be purchased using the RevenueCat SDK. If you are using RevenueCat Offerings to control what products are available for purchase in your app, you can now attach any Google Play base plan to a Package, including base plans that are not backwards compatible. If you attach a non backwards compatible base plan, you have the ability to additionally attach a backwards compatible fallback product which will be used for older versions of the SDK instead:
Support for multiple offers per base plan
Google Play Billing Library 5 adds support for multiple offers, such as trials and discounts, per base plan. This means that Google Play no longer automatically applies free trials and introductory offers. To ease the transition, the RevenueCat SDK will automatically select an offer to apply when purchasing a Product or Package. If you want more control, you can also manually select the offer or base plan to purchase. Learn more.
Coming Soon
• RevenueCat’s cross-platform SDKs for Flutter, React Native, Ionic/Cordova, and Unity will be rolling out support for Billing Library 5 shortly. There will be little to no changes to keep your cross-platform apps working across multiple platforms but the new versions of the SDKs allow for Google Play specific functions like purchasing specific subscription offers.
• Support for prepaid plans is not yet available but is under development.