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)
Fri, Nov 8, 10:37 AM
Unknown Object (File)
Thu, Nov 7, 5:21 AM
Unknown Object (File)
Oct 30 2024, 4:57 AM
Unknown Object (File)
Oct 30 2024, 4:57 AM
Unknown Object (File)
Oct 30 2024, 4:56 AM
Unknown Object (File)
Oct 30 2024, 4:54 AM
Unknown Object (File)
Oct 19 2024, 10:24 AM
Unknown Object (File)
Oct 18 2024, 9:56 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