Skip to content

chore(example): remove legacy Offerings from sample app - #74

Merged
smejl merged 1 commit into
developfrom
chore/remove-offerings-from-sample
Jul 19, 2026
Merged

chore(example): remove legacy Offerings from sample app#74
smejl merged 1 commit into
developfrom
chore/remove-offerings-from-sample

Conversation

@smejl

@smejl smejl commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

What

Removes the legacy Offerings flow from the example/ sample app.

Why

Offerings are being sunset in favor of Remote Configs. The sample app should no longer showcase them so it doesn't steer new integrators toward a deprecated API. The product list is now sourced exclusively from Qonversion.getSharedInstance().products() (already used by the Products screen).

See the migration guide: https://documentation.qonversion.io/docs/migrate-offerings-to-remote-configs

Changes (example/ only, SDK code untouched)

  • Deleted example/src/app/screens/OfferingsScreen.ts (screen + offerings() call + purchase-from-offering flow).
  • main.ts: removed the Offerings screen import, renderer/title map entries, the "More" menu entry, the setupScreenEventListeners case, and the offerings reference in the "more" active-tab detection.
  • screens/MainScreen.ts: removed the Offerings menu tile.
  • store.ts: removed offerings state field, SET_OFFERINGS action, initial value, reducer case, and the now-unused Offerings type import.

Grep for offering in example/src returns no matches.

Notes

  • Products purchase flow (ProductsScreen.ts) is the canonical remaining path and is unchanged.
  • No build/install run locally per task constraints; changes are minimal-diff and type-consistent.

🤖 Generated with Claude Code

Offerings are being sunset in favor of Remote Configs. The sample app
now sources the product list from Qonversion.getSharedInstance().products()
only. Removed the Offerings screen, its navigation entries, and the
offerings state/actions from the store.

See: https://documentation.qonversion.io/docs/migrate-offerings-to-remote-configs

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@smejl
smejl merged commit 1b37b30 into develop Jul 19, 2026
1 check passed
@smejl
smejl deleted the chore/remove-offerings-from-sample branch July 19, 2026 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant