Support test store#2554
Conversation
aba6723 to
61e8a8a
Compare
61e8a8a to
a6c6b60
Compare
…efix at that point
|
Still need to test this with the backend changes and the actual posting of the purchase data to the backend is not done, but this is a first approach to supporting the test store @RevenueCat/coresdk. |
…upport-test-store
…estStoreProductConverter.kt Co-authored-by: Antonio Pallares <ajpallares@users.noreply.github.com>
📸 Snapshot Test660 unchanged
🛸 Powered by Emerge Tools |
…g posting receipt
…at/purchases-android into support-test-store
…upport-test-store
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2554 +/- ##
==========================================
- Coverage 78.70% 78.34% -0.37%
==========================================
Files 295 298 +3
Lines 10877 11032 +155
Branches 1520 1535 +15
==========================================
+ Hits 8561 8643 +82
- Misses 1654 1717 +63
- Partials 662 672 +10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| onError: PurchasesErrorCallback, | ||
| ) { | ||
| debugLog { "TestStoreBillingAbstract: getStorefront - returning US by default" } | ||
| onSuccess("US") |
There was a problem hiding this comment.
We might need a way to mock this from the backend... I expect some people might ask about it. For now, I think it's ok to hardcode it.
ajpallares
left a comment
There was a problem hiding this comment.
Looks great! Amazing job! 🙌
**This is an automatic release.** ## RevenueCat SDK ### 📦 Dependency Updates * [RENOVATE] Update dependency gradle to v9 (#2589) via RevenueCat Git Bot (@RCGitBot) ## RevenueCatUI SDK ### Customer Center #### ✨ New Features * Show a subscribe button in customer center when there are no subscriptions (#2596) via Facundo Menzella (@facumenzella) #### 🐞 Bugfixes * Fix title and price of non-Google purchases in Customer Center (#2576) via Cesar de la Vega (@vegaro) ### 🔄 Other Changes * [AUTOMATIC][Paywalls V2] Updates paywall-preview-resources submodule (#2598) via RevenueCat Git Bot (@RCGitBot) * Add alias users backend call (#2594) via Toni Rico (@tonidero) * Rename TestStore to SimulatedStore (#2591) via Toni Rico (@tonidero) * Fail configure call if using test api key in release builds (#2590) via Toni Rico (@tonidero) * Support test store (#2554) via Toni Rico (@tonidero) * Fix insets in Paywall Tester (#2584) via Cesar de la Vega (@vegaro) * Add 8.22.1 to CHANGELOG (#2582) via Toni Rico (@tonidero) * Add warning on V9 CHANGELOG (#2586) via Toni Rico (@tonidero) * Change metalava job to diff dump generated dump files (#2585) via Toni Rico (@tonidero) Co-authored-by: revenuecat-ops <ops@revenuecat.com>
This adds support for a new test store that allows for easier development testing of purchases. It remains behind a build config flag but for now so not adding anything new for now --------- Co-authored-by: Antonio Pallares <ajpallares@users.noreply.github.com>
Description
This adds support for a new test store that allows for easier development testing of purchases. It remains behind a build config flag but for now so not adding anything new for now