Skip to content

Rename TestStore to SimulatedStore#2591

Merged
tonidero merged 5 commits into
mainfrom
rename-test-store-simulated-store
Aug 7, 2025
Merged

Rename TestStore to SimulatedStore#2591
tonidero merged 5 commits into
mainfrom
rename-test-store-simulated-store

Conversation

@tonidero

@tonidero tonidero commented Aug 6, 2025

Copy link
Copy Markdown
Contributor

Description

Rename to conform with new internal naming.

@codecov

codecov Bot commented Aug 6, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 56.41026% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.28%. Comparing base (c464dfa) to head (743105f).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...ses/simulatedstore/SimulatedStoreBillingWrapper.kt 52.94% 7 Missing and 1 partial ⚠️
...otlin/com/revenuecat/purchases/PurchasesFactory.kt 25.00% 1 Missing and 2 partials ⚠️
.../kotlin/com/revenuecat/purchases/BillingFactory.kt 0.00% 1 Missing and 1 partial ⚠️
.../com/revenuecat/purchases/OfferingParserFactory.kt 0.00% 1 Missing and 1 partial ⚠️
.../com/revenuecat/purchases/PurchasesOrchestrator.kt 71.42% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2591      +/-   ##
==========================================
- Coverage   78.28%   78.28%   -0.01%     
==========================================
  Files         299      299              
  Lines       11052    11059       +7     
  Branches     1537     1541       +4     
==========================================
+ Hits         8652     8657       +5     
+ Misses       1727     1726       -1     
- Partials      673      676       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tonidero tonidero marked this pull request as ready for review August 6, 2025 10:38
@tonidero tonidero requested a review from a team August 6, 2025 10:38

@JayShortway JayShortway left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff! Just a few minor suggestions.

Comment on lines +26 to +30
const val SIMULATED_STORE_API_KEY = "Using a Simulated Store API key.\n" +
"The Simulated Store is for development only. Never use a Simulated Store API key in production. " +
"Our SDK will crash if using it in production. Simulated Store purchases are simulated, " +
"do not use Google Play or Amazon store, and generate no revenue. " +
"Apps submitted with a Simulated Store API key will be rejected during App Review."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This message should probably still use the Test Store name, as it is "public communication"?

Comment on lines +17 to +19
const val RESTORE_PURCHASES_TEST_STORE = "Restoring purchases not available in test store. " +
const val RESTORE_PURCHASES_SIMULATED_STORE = "Restoring purchases not available in simulated store. " +
"Returning current CustomerInfo."
const val SYNC_PURCHASES_TEST_STORE = "Syncing purchases not available in test store. " +
const val SYNC_PURCHASES_SIMULATED_STORE = "Syncing purchases not available in simulated store. " +

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, these messages should still use "Test Store" I think?

@ajpallares ajpallares left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking great!
We just need to know the final public-facing name of the Store for the log messages before merging, as it's not clear to me either if we're going public with Test Store or Simulated Store

@tonidero

tonidero commented Aug 7, 2025

Copy link
Copy Markdown
Contributor Author

Going to merge this for now, but lmk if you think there are any other changes you would like to consider!

@tonidero tonidero added this pull request to the merge queue Aug 7, 2025
Merged via the queue into main with commit babc3c1 Aug 7, 2025
20 checks passed
@tonidero tonidero deleted the rename-test-store-simulated-store branch August 7, 2025 07:28
This was referenced Aug 13, 2025
tonidero pushed a commit that referenced this pull request Aug 14, 2025
**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>
tonidero added a commit that referenced this pull request Aug 25, 2025
Rename to conform with new internal naming.
@tonidero tonidero mentioned this pull request Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants