Page MenuHomePhabricator

[native] Create feature flags context
ClosedPublic

Authored by tomek on Mar 3 2023, 4:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 10, 7:21 AM
Unknown Object (File)
Thu, Mar 28, 4:58 AM
Unknown Object (File)
Thu, Mar 28, 4:58 AM
Unknown Object (File)
Thu, Mar 28, 4:57 AM
Unknown Object (File)
Thu, Mar 28, 4:51 AM
Unknown Object (File)
Feb 21 2024, 10:36 PM
Unknown Object (File)
Feb 21 2024, 4:00 AM
Unknown Object (File)
Feb 21 2024, 4:00 AM
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