Page MenuHomePhabricator

[native] Create feature flags context
ClosedPublic

Authored by tomek on Mar 3 2023, 4:27 AM.
Tags
None
Referenced Files
F3642159: D6948.diff
Sat, Jan 4, 3:29 PM
Unknown Object (File)
Sun, Dec 29, 9:30 PM
Unknown Object (File)
Sun, Dec 29, 9:30 PM
Unknown Object (File)
Sun, Dec 29, 9:30 PM
Unknown Object (File)
Sun, Dec 29, 9:27 PM
Unknown Object (File)
Mon, Dec 16, 4:19 AM
Unknown Object (File)
Dec 2 2024, 6:01 PM
Unknown Object (File)
Dec 2 2024, 5:10 PM
Subscribers

Details

Summary

This context will be responsible for fetching and providing a configuration. At this point it just returns the default one.
Initially I tried to introduce this context in lib, so that it can be used by web, but that's not trivial, as this context requires staff flag that we currently compute on native and moving it to web also requires some thought as we e.g. hardcode isStaffRelease flag which doesn't make sense on web. Also, the initial release of feature flags service covers mobile only.

Depends on D6947

Test Plan

Consume the context in the app and console log it.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable