Sign-in and the panel
Sign teammates in with their Flitz account, open Members-only builds, and let teammates switch between your app's published versions from inside the host.
Enterprise feature
Sign-in and the panel are part of Flitz Enterprise. To have your app registered for sign-in, contact support — see Get a client id.
Sign-in and the panel are optional loader features, and both are off by default:
- Sign-in makes the host sign each teammate in with their Flitz account before every load. Only a host with sign-in opens builds of an app set to Members only — see Download access.
- The panel is the loader's own UI inside your host, for the one app the host serves. An edge tab over your app and over a running build opens a sheet where a signed-in teammate picks a published version of the app and runs it, goes back to your own build, and sends feedback on the version that runs — with no link needed.
Without them, the host opens any flitz://download link and sends no
credentials, as set up in the Android and iOS
quickstarts.
Choose a level
You choose one level per app when you integrate the loader. It covers every flavor and build configuration, and changing it means a new host build.
| Level | You configure | What the host does |
|---|---|---|
| Links only | Nothing — the default | Opens flitz://download links. |
| Sign-in | A client id | Signs the user in before every load. |
| Sign-in and panel | A client id and the panel's app | Also shows the panel's edge tab over your app and over a running build. On iOS, error screens with no Back offer Open panel. |
Get a client id
Sign-in needs a client id that Flitz registers for your app. To get one, contact support and send:
- the app's display name;
- its URL scheme — the one you publish with, see Custom schemes;
- your organization.
The client id is public: it ships inside your app. If you change the scheme later, contact support to update the registration.
The registration names one scheme, and every flavor and build configuration of the app signs in through it. A scheme per flavor (Several loader flavors on one device) therefore needs sign-in off.
Turn it on
Add the settings to the flitz { } block in android/app/build.gradle.kts.
They apply to every flavor in enabledFlavors:
flitz {
enabledFlavors = listOf("withLoader")
signIn {
clientId = "<client-id>" // from Flitz; turns sign-in on
}
panel { // optional: the panel level
app = "<app-key>" // required: the app the panel serves
}
}appis the key of the app whose versions the panel lists, asflitz apps listshows it. The panel serves that app only. When the app's key changes or the app is deleted, the panel shows App not found until you rebuild the host with the new key or restore the app.- At the panel level, the Gradle plugin makes the loader your app's launcher.
A tap on the icon still opens your own launcher activity at once; while a
build runs in the loader, the tap brings that build back instead. Your app
needs a launcher activity: without one, the build fails with
The flitz panel found no launcher activity to start. - The scheme needs no change: sign-in works with the default
flitzor your own custom scheme, as long as it is the scheme you gave Flitz.
The build checks these settings even when no flavor is active, and fails on the first problem with a message naming the setting — see Troubleshooting → Gradle.
Then rebuild the host and get the new build to your team — see Get the host to your team. The full list of settings is in the API reference.
Signing in
- The first load shows the sign-in page in the system browser — on iOS the system first asks to allow it. The first sign-in through your app asks the teammate to approve the app.
- Launching the app signs no one in, at every level: your own UI starts at once. At the panel level, without a session, the panel shows Sign in to see versions and its Feedback tab Sign in to send feedback; their Sign in opens the same browser sign-in.
- Every later load renews the session without the browser. A teammate signs in again only when the session has ended.
- When sign-in does not finish, the loader shows Sign-in required, Sign-in failed, or Can't reach Flitz sign-in with a button to try again — see Troubleshooting.
The session lives in your app's private storage on the device. At the panel level, teammates sign out in the panel. A host with sign-in but no panel offers no sign-out: to switch accounts there, clear the app's storage on Android, or delete and reinstall the app on iOS.
The panel
The panel serves the one app you configured. It has two parts: the edge tab, which stays on screen, and the sheet it opens.
The edge tab
The edge tab is a small handle on the right edge of the screen — the left edge
in a right-to-left layout. It shows over your app's UI and over a running
build, never over the loader's download, error, or sign-in screens. It carries
the Flitz mark and, while a published version runs, that version's number on
its track (v<number>). A dot on it means a newer version is on the running
version's track; the loader checks when the app comes to the foreground and
every 5 minutes while it stays there.
- Tap it, or swipe it inward, to open the sheet.
- Drag it up or down to move it along the edge. With TalkBack or VoiceOver, its Move up and Move down actions move it a step at a time.
- Swipe it outward, or shake the device, to hide it. The toast Flitz tab hidden. Shake to show it again confirms it. Another shake shows it again, and so does relaunching the app. On Android, the tab over your app and the tab over a running build hide separately.
The sheet
The sheet slides up over what runs. Its header shows your app's icon and name, an account button, and Close. Swipe it down, tap Close, or use Back on Android to close it. It has two tabs:
- Versions — your app's tracks and versions, below.
- Feedback — comments and screenshots on the version that runs. See Feedback.
The sheet opens on Versions — on Feedback from Add note. It shows what it read before at once and reads afresh behind it.
Versions lists, top to bottom:
- Search tracks — finds tracks by name, from two characters on.
- Archived: no new versions — when the app is archived.
- Currently running — while a build runs in the loader, that build, tagged Running: a version with its track's name, or Local file, Direct link for a bundle URL that is not a Flitz link, or Deleted version.
- Host — your own build, titled with its app version (
versionNameon Android,CFBundleShortVersionStringon iOS). It reads Running while your own UI runs; otherwise see Returning to your own build. - Tracks in {app} — the app's tracks, the most recently published first, each with its newest version's label and day, or No versions. Archived tracks are not listed. Tapping a track opens its page.
A track's page lists the track's versions, newest first, under day headers, with Search versions at the top and All tracks to go back. Each version row shows:
- its label —
v<number>, else its--version-name, else its app version — tagged Running on the version that runs and Latest on the track's newest; - its title — its
--name, else the first line of its--comment, else its app version — with the tag Draft while it holds an unsent feedback draft; - the time it was published, and its feedback count, which opens its feedback;
- Load, or Running on the version that runs.
Pull a list down to read it afresh. A long list reads more as you scroll near its end.
Loading a version
Load downloads the version and runs it in place of what runs. The sheet shows Loading {track} with a progress bar, then Starting {label} in the {app} host…. Closing the sheet during the download cancels it, and what ran keeps running.
A version you load goes through the same sign-in, download, and compatibility checks as a link. When it starts, the sheet closes and Now running {track} · {label} shows for 5 seconds with Undo, which runs the previous build again without downloading it. On iOS the toast offers no Undo when your own build ran before.
The panel lists every complete version on a track, so one that this host cannot run fails when it loads: a version built with another Flitz SDK shows the dialog Different Flitz SDK, one that needs native packages the host lacks shows Missing native packages, naming them, and any other failure shows a toast naming the reason. Whatever was running keeps running. See Troubleshooting → The panel for each message and its fix.
Returning to your own build
- Android: a build runs in the loader's own task, beside your app. Load on the Host row ends it and brings your app back as you left it.
- iOS: the first build to run takes the app's window and shuts down your app's Flutter engine, as every load does — see Loading a bundle takes over the app. From then on the Host row reads Restart the app to return: your own build comes back when the app is launched again.
Opening the panel
At the panel level, the sheet opens from:
- The edge tab.
- Add note on the banner a system screenshot shows, which opens the Feedback tab — see Feedback.
- Open panel on an iOS error screen that offers no Back.
A launch opens none of them: your UI starts with the sheet closed. Opening the sheet never stops a running build — only a loaded version replaces it.
When the panel cannot list versions
When a list cannot be read, the sheet shows why in its place — for example Sign in to see versions when no one is signed in, You're offline, or App not found when the panel's app key names no app in the signed-in account's organization. A running version keeps running. See Troubleshooting → The panel for every message and its fix. An app with nothing published shows No versions yet, and a track with no complete version No builds on {track} yet.
Identity and sign-out
The account button in the sheet's header shows who is signed in — the name and the email — and Sign out, the only place to sign out. Sign-out clears the session on this device only, and ends a running build:
- Android: your app's own build shows.
- iOS: the screen Signed out — "Restart {app} to return to its own build." — takes the window, with Open panel.
The panel then shows Sign in to see versions. Its Sign in shows the sign-in page even when the browser remembers an account, so the teammate can choose another one. An unsent feedback draft stays on its version.
Members only
An Owner or Admin can set an app to Members only in the portal. Its builds then open only in a host with sign-in, for a signed-in member of the app's organization. Anyone else gets a refusal on the device:
| Screen | Shown when | Buttons |
|---|---|---|
| Members only | The download carried no sign-in: the host has no sign-in. | Back |
| Can't open builds with this account | The signed-in account belongs to another organization, or to none — for example after the teammate was removed. | Back |
- A refusal offers no Retry: the same request gets the same answer. To switch accounts, sign out in the panel — or, without one, see Signing in.
- When Flitz rejects the session itself, the loader renews it once — through the browser if needed — and downloads again. A second rejection shows Can't open builds with this account.
What sign-in does not do
- It does not work offline. Every load renews the session first. When the sign-in service cannot be reached, the load stops on Can't reach Flitz sign-in, whichever app the build belongs to.
- It does not hide the session from bundles. A bundle runs as your app's own code and can read the stored session, the teammate's name and email included.
Next steps
Feedback
Send comments and annotated screenshots on the version that runs, and read your team's.
Apps and tracks
What the panel lists, what each link opens, and who can download a build.
API reference
The flitz { } block, the Info.plist keys, and opening the panel from native code.
Troubleshooting
Every sign-in, access, and settings error, and how to fix it.