Skip to content

Feature / Bring back mandatory invite gate (for the mobile apps only) in the Invite controller - #2603

Draft
superKalo wants to merge 3 commits into
v2from
feature/mobile-invite-gate
Draft

Feature / Bring back mandatory invite gate (for the mobile apps only) in the Invite controller#2603
superKalo wants to merge 3 commits into
v2from
feature/mobile-invite-gate

Conversation

@superKalo

Copy link
Copy Markdown
Member

Part of https://github.com/AmbireTech/ambire-app/issues/7536

Other implementation notes:

  • Where the gate should live: prob router-level: in the mobile Router.tsx (startRoute) plus a small guard component, modeled on the removed web one. Not in the shared getInitialRoute helper, so none of it leaks into the extension (sync with @sonytooo best)
  • 'InviteController' must be added to MOBILE_CRITICAL_CONTROLLERS (src/mobile/constants/criticalControllers.ts). Otherwise its state crosses the webview bridge only after the splash screen hides, and the user gets a flash of the dashboard / get-started screen before the redirect kicks in (sync with @PetromirDev best)
  • Relayer endpoint - should we should reuse /promotions/extension-key/:code (that we used for the extension invite gate long time ago) or should introduce a new one (sync with @JIOjosBG best)

… for a mobile invite verification flow; mark legacy invite status and verification methods as deprecated, with plans for a new mobile-specific implementation
@superKalo superKalo self-assigned this Aug 7, 2026
@dmngdsm
dmngdsm marked this pull request as ready for review August 7, 2026 10:51
@PetromirDev
PetromirDev marked this pull request as draft August 7, 2026 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants