-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Breaking Changes * Support for Billing Client 6 (#1209) via Mark Villacampa (@MarkVillacampa) * Bump minimum sdk version to Android 4.4 (API level 19) (#1265) via Mark Villacampa (@MarkVillacampa) * in app messages support (#1290) via Andy Boedo (@aboedo) ### Bugfixes * Add `awaitRestore` to customEntitlementComputation library (#1275) via Toni Rico (@tonidero) ### Other Changes * Future-proof in-app message APIs in case new types are added (#1293) via Toni Rico (@tonidero) * `Code style`: enabled `ALLOW_TRAILING_COMMA` (#1280) via NachoSoto (@NachoSoto)
- Loading branch information
1 parent
468a850
commit 04b973a
Showing
12 changed files
with
147 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
6.10.0-SNAPSHOT | ||
7.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,40 @@ | ||
**RevenueCat Android SDK v7** is here!! 😻 | ||
|
||
This latest release updates the SDK to use BillingClient 6. 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](https://www.revenuecat.com/docs/managing-subscriptions#google-play), | ||
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. | ||
|
||
See the [Android Native - 6.x to 7.x Migration](https://github.com/RevenueCat/purchases-android/blob/main/migrations/v7-MIGRATION.md) for more details. | ||
|
||
If you come from an older version of the RevenueCat SDK, see [Android Native - 5.x to 6.x Migration](https://www.revenuecat.com/docs/android-native-5x-to-6x-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 14) to Android 4.4 (API level 19). | ||
|
||
### Support for Google Play InApp Messages | ||
|
||
We've added support for [Google Play InApp Messages](https://rev.cat/googleplayinappmessaging) 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. | ||
|
||
InApp Messages are shown by default. If you want to disable this behaviour during configuration of the RevenueCat SDK: | ||
|
||
```kotlin | ||
Purchases.configure( | ||
PurchasesConfiguration.Builder(applicationContext, apiKey) | ||
.showInAppMessagesAutomatically(false) | ||
.build() | ||
) | ||
``` | ||
|
||
### Bugfixes | ||
* Catch IllegalStateException and forward StoreProblemError (#1248) via Cesar de la Vega (@vegaro) | ||
### Dependency Updates | ||
* Bump fastlane from 2.215.1 to 2.216.0 (#1268) via dependabot[bot] (@dependabot[bot]) | ||
* Bump danger from 9.3.1 to 9.3.2 (#1260) via dependabot[bot] (@dependabot[bot]) | ||
* Bump fastlane from 2.214.0 to 2.215.1 (#1256) via dependabot[bot] (@dependabot[bot]) | ||
### Other Changes | ||
* Improve offerings start log (#1225) via Toni Rico (@tonidero) | ||
* Make sure to unmock mocked static methods after tests finished (#1205) via Mark Villacampa (@MarkVillacampa) | ||
* Add `awaitRestore` to customEntitlementComputation library (#1275) via Toni Rico (@tonidero) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.