Skip to content

Production-profile builds with their own bundle id can't finish sign-in when the App Store Omi is installed #19244

Open

Description

@Itaxh1

Product impact

  • Primary loop layer: Docs-Tooling
  • Involves data loss, failed capture, or broken sync/trust

Describe the bug

The production and local_prod profiles return from sign-in through omi://auth/callback, the scheme the App
Store app also registers. A development or preview build pointed at production (its own bundle id, installed
alongside the App Store app) can't finish sign-in: iOS opens the App Store Omi with the callback, and that app
shows an error.

To reproduce

  1. Install the App Store Omi on the phone.
  2. Build the app with OMI_APP_PROFILE=production and a different bundle id (as with a preview build), then sign in.

Current behavior

After the browser step, the App Store app opens and shows an error, and the dev build stays signed out.

Expected behavior

A development build can pick a callback scheme of its own (for example omi-beta, which the backend already
accepts like any custom scheme), without changing released builds.

Evidence

Suggested fix

An optional OMI_AUTH_CALLBACK_SCHEME dart-define that overrides the profile's scheme. Nothing changes when it is
not set.

Fix available

Fixed with a regression test on the fork branch design/v2-step0-tokens (c0c0d74950). It will be linked from the draft PR.

Found while testing the Omi v2 Flutter restyle on an iPhone, then confirmed against main at 32c2ed22cf.

Activity

  1. added
    capture
    p0
    docs-tooling
    p3
    and removed
    p0
    capture
    on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs-toolingp3

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions