chore(example): remove legacy Offerings flow from sample app#456
Merged
Conversation
Offerings are being sunset in favor of Remote Configs. Drop the Offerings catalog from the example app so it no longer demonstrates the legacy flow. Products are now surfaced only via Qonversion.getSharedInstance().products(). - Delete OfferingsScreen (screen + styles) and its route/navigation - Remove offerings state, action and reducer branch from AppStore - Remove the Offerings menu item from MainScreen - Drop the Offering ID field from ProductDetailScreen - Remove the OfferingsScreen export from the example index See: https://documentation.qonversion.io/docs/migrate-offerings-to-remote-configs Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
What
Removes the legacy Offerings flow from the example app. Offerings are being sunset in favor of Remote Configs, so the sample should no longer demonstrate the deprecated catalog.
Products in the sample are now surfaced solely through
Qonversion.getSharedInstance().products()(the existing Products screen).Changes (example app only, SDK code untouched)
OfferingsScreen(screen + styles) and remove its route/case inApp.tsxofferingsstate, theSET_OFFERINGSaction, its reducer branch, and theOfferingsimport fromstore/AppStore.tsMainScreenProductDetailScreenOfferingsScreenexport from the exampleindex.tsGrep for
offeringacrossexample/srcnow returns no matches.Context
Offerings sunset — migrate to Remote Configs:
https://documentation.qonversion.io/docs/migrate-offerings-to-remote-configs
Please review, do not merge yet.
🤖 Generated with Claude Code