[native] Introduce StaffContextProvider
Summary:
Context: https://linear.app/comm/issue/ENG-2134/have-a-flag-that-indicates-whether-the-build-is-a-staff-release
We want to maintain a staffUserHasBeenLoggedIn value so we know if a staff member is currently, or has previously logged in.
This provider will set staffUserHasBeenLoggedIn to true, but won't do the reverse. Once it's been set to true it will remain true indefinitely.
Test Plan:
- Log value of provider
- Log into non-staff account
- Ensure that staffUserHasBeenLoggedIn is false
- Log into a staff account
- Ensure that staffUserHasBeenLoggedIn is true
- Log back into a non-staff account
- Ensure that staffUserHasBeenLoggedIn is still true
Reviewers: tomek, ginsu, rohan, ashoat, marcin
Reviewed By: ashoat
Subscribers: abosh
Differential Revision: https://phab.comm.dev/D5513