Repository navigation
Closed
Labels
androidPrimary Android workenhancementNew feature or requestiosPrimary iOS workpriority: mediumNon-blocking V1 work and polishsharedShared or cross-platform implementation
Description
Shipped features can be switched on or off remotely from Firebase Remote Config without a store release, and a developer can override any flag on device to test both states.
Shared behavior
- One shared flag namespace (snake_case keys, boolean values) with the same bundled defaults on iOS and Android. Feature code reads typed product-level flags through a small
FeatureFlagsdomain adapter and never imports Firebase. - Resolution order per flag: developer override on device, then the activated Remote Config value, then the bundled default.
- Release builds fetch Remote Config on app launch and activate previously fetched values at the next launch, so a flag never flips mid-session. Offline, LAN-only, and VPN users keep the bundled defaults with no behavior change.
- Debug builds stay Firebase-free (same seam as Crashlytics and Analytics, OPE-72). Flags come from bundled defaults plus developer overrides.
- Remote Config fetches are plain value fetches and are not gated by the product analytics consent toggle. No audience or user-property targeting, since Analytics is consent-gated.
- Developer tools in Settings gain a "Feature flags" screen listing each flag with its resolved value and source (default, remote, override) and an override toggle. Overrides are device-local and cleared by Clear All Data.
- First flag:
session_chat_chip_timeline(default on). When off, the Settings "Chip timeline" row is hidden and Session Chat renders the standard timeline regardless of the stored preference.
Remaining:
- Add Firebase Remote Config dependency on both platforms (Release only, in the release-observability seam)
-
FeatureFlagsadapter, flag registry, resolution policy, and developer overrides on iOS with unit tests -
FeatureFlagsadapter, flag registry, resolution policy, and developer overrides on Android with unit tests - Feature flags developer screen in Settings on both platforms; Clear All Data clears overrides
- Gate the chip timeline behind
session_chat_chip_timelineon both platforms - Review and merge PR opencode-mobile/opencode-mobile#330 (branch
feature/ope-269-remote-feature-flags, worktree/Users/ivan/Projects/opencode-mobile-ope-269) - Create the
session_chat_chip_timelineparameter in the Firebase console and verify a Release build picks up a flipped value - Check whether the App Store privacy label needs the Firebase installation ID added
Imported from Linear OPE-269. Linear status: Done. Priority: Medium. Created 2026-09-29. Completed 2026-09-29.
Related: OPE-72, OPE-270.
Metadata
Metadata
Assignees
Labels
androidPrimary Android workenhancementNew feature or requestiosPrimary iOS workpriority: mediumNon-blocking V1 work and polishsharedShared or cross-platform implementation
Activity