Repository navigation
Stop Plus-store builds that have no RevenueCat key - #89
Merged
Merged
Conversation
A build with the Plus store box ticked but no RevenueCat key hides the store anyway (STORE_AVAILABLE is false), which looked like the box did nothing. Fail early with a clear message instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HnC1d19SUsdRm1buTLDf8u
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Kevin · project thread
Why
Kevin's Android release run of Nov 25 (run 45658638018) had Plus store ticked, and the log shows
Plus store: 1, RevenueCat key: missing. The app only shows the store sheets and the Settings "Subscriptions & Purchases" section whenVITE_PLUS=1and a RevenueCat key is baked in (SHOP_OPEN = PLUS_VISIBLE && STORE_AVAILABLE). With no key it falls back to the "opens when the store does" note, so the box looked like it did nothing.What
In the Android release, iOS TestFlight and iOS device build workflows, the build step now stops with a clear error when Plus store is ticked but the matching
VITE_REVENUECAT_*_KEYsecret is missing. No app code changes.To get the store showing
Add the RevenueCat public SDK key (
goog_...) as repo secretVITE_REVENUECAT_ANDROID_KEY(andappl_...asVITE_REVENUECAT_IOS_KEYfor iOS), then build again with Plus store ticked.Generated by Claude Code