Skip to main content
SDK

Android 5.0.0

Android 5.0.0
RC Support
RevenueCat Staff
Forum|alt.badge.img+3

Migration Guide

  • A number of renames, removal of some deprecated functions, and a change to configuration. Amazon Store support is also included. Check out the full list of changes in [migrations/v5-MIGRATION.md]

API changes:

Amazon Store Support

We have introduced support for using the Amazon Store. We have extensively tested this, and there are some apps using our pre-release Amazon versions in production.

However, we have found some inconsistencies in the way Amazon Store prices are reported. We are actively working on patching these inconsistencies.

Please help us help you by reporting any issues you find. New RevenueCat Issue.

You can enable Amazon Store support by configuring the SDK using the new configure function:

Purchases.configure(AmazonConfiguration.Builder(this, "public_amazon_sdk_key").build())

For more information around configuration please take a look at the Amazon Store section in our docs. The official Amazon In-App Purchasing docs also contain very valuable information, especially around testing and best practices.

If you're updating from an alpha version with Amazon Store support, remove the in-app-purchasing-2.0.76.jar dependency from your app/build.gradle and from the libs folder. Manually adding the jar is no longer required 😄

dependencies {
    implementation files('libs/in-app-purchasing-2.0.76.jar') -> Remove this

⚠️ ⚠️ Important ⚠️ ⚠️ Observer mode for Amazon is not supported yet.

Changelog

Note: This release is based off of 5.0.0-rc3. These are the changes compared to 5.0.0-rc3:

Full Changelog

To view new release, visit https://github.com/RevenueCat/purchases-android/releases/tag/5.0.0

This post has been closed for comments

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings