-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Billing Client 6 #1209
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1209 +/- ##
==========================================
- Coverage 85.83% 85.51% -0.33%
==========================================
Files 186 187 +1
Lines 6319 6358 +39
Branches 918 923 +5
==========================================
+ Hits 5424 5437 +13
- Misses 546 567 +21
- Partials 349 354 +5
☔ View full report in Codecov by Sentry. |
14619ac
to
afb74ab
Compare
purchases/src/main/kotlin/com/revenuecat/purchases/models/GoogleProrationMode.kt
Outdated
Show resolved
Hide resolved
purchases/src/main/kotlin/com/revenuecat/purchases/models/GoogleReplacementMode.kt
Outdated
Show resolved
Hide resolved
purchases/src/main/kotlin/com/revenuecat/purchases/models/StoreTransaction.kt
Show resolved
Hide resolved
purchases/src/main/kotlin/com/revenuecat/purchases/models/StoreTransaction.kt
Show resolved
Hide resolved
543856e
to
3173653
Compare
api-tester/src/main/java/com/revenuecat/apitester/java/GoogleProrationModeAPI.java
Outdated
Show resolved
Hide resolved
api-tester/src/main/java/com/revenuecat/apitester/kotlin/PurchasesCommonAPI.kt
Show resolved
Hide resolved
examples/purchase-tester/src/main/java/com/revenuecat/purchasetester/ConfigureFragment.kt
Outdated
Show resolved
Hide resolved
purchases/src/main/kotlin/com/revenuecat/purchases/PurchasesOrchestrator.kt
Outdated
Show resolved
Hide resolved
purchases/src/main/kotlin/com/revenuecat/purchases/google/BillingWrapper.kt
Outdated
Show resolved
Hide resolved
purchases/src/main/kotlin/com/revenuecat/purchases/models/GoogleProrationMode.kt
Outdated
Show resolved
Hide resolved
purchases/src/main/kotlin/com/revenuecat/purchases/models/GoogleProrationMode.kt
Show resolved
Hide resolved
purchases/src/main/kotlin/com/revenuecat/purchases/models/GoogleReplacementMode.kt
Outdated
Show resolved
Hide resolved
purchases/src/test/java/com/revenuecat/purchases/PurchasesCommonTest.kt
Outdated
Show resolved
Hide resolved
purchases/src/testDefaults/kotlin/com/revenuecat/purchases/PurchasesTest.kt
Outdated
Show resolved
Hide resolved
api-tester/src/main/java/com/revenuecat/apitester/java/PurchasesCommonAPI.java
Show resolved
Hide resolved
api-tester/src/main/java/com/revenuecat/apitester/kotlin/PurchasesCommonAPI.kt
Show resolved
Hide resolved
api-tester/src/main/java/com/revenuecat/apitester/java/PurchasesCommonAPI.java
Show resolved
Hide resolved
api-tester/src/main/java/com/revenuecat/apitester/kotlin/GoogleProrationModeAPI.kt
Show resolved
Hide resolved
purchases/src/main/kotlin/com/revenuecat/purchases/common/HTTPClient.kt
Outdated
Show resolved
Hide resolved
purchases/src/main/kotlin/com/revenuecat/purchases/models/StoreTransaction.kt
Show resolved
Hide resolved
purchases/src/main/kotlin/com/revenuecat/purchases/models/StoreTransaction.kt
Outdated
Show resolved
Hide resolved
api-tester/src/main/java/com/revenuecat/apitester/java/GoogleProrationModeAPI.java
Outdated
Show resolved
Hide resolved
api-tester/src/main/java/com/revenuecat/apitester/kotlin/GoogleProrationModeAPI.kt
Outdated
Show resolved
Hide resolved
purchases/src/test/java/com/revenuecat/purchases/PurchasesCommonTest.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Maybe we should remove the commented out code temporarily as Andy suggested.
3c6cef9
to
ca82851
Compare
f4b99bd
to
9e2f693
Compare
migrations/v7-MIGRATION.md
Outdated
However, there is a behavior change in the "DEFERRED" replacement mode. Previously, a purchase would only occur after the | ||
product change. In BC6, the new purchase occurs place immediately, while the product change becomes effective when the old | ||
item expires. Until we can properly support this new behaviour, we have disabled the "DEFERRED" replacement mode and it | ||
will be added back in a future release of the SDK. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make it the implications for a developer super explicit here: I might not know whether this affects me at all, and it most likely doesn't.
Maybe something like
If your app supports product changes using DEFERRED replacement mode (link to docs), 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 your app doesn't currently use DEFERRED replacement modes, then you should be safe to upgrade to this version without changes in behavior.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or maybe flipping the order of those since DEFERRED isn't very widely used
looks good! Left one minor note, good to go otherwise |
### 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)
… to Billing Client 6 (#506) Refer to RevenueCat/purchases-android#1209 for more information
… to Billing Client 6 (#425) Refer to RevenueCat/purchases-android#1209 for more information
… to Billing Client 6 (#821) Refer to RevenueCat/purchases-android#1209 for more information
Bumping Billing client to 6.0.0