Page MenuHomePhabricator

[lib][native] Move reduceServicesAccessToken and setAccessTokenActionType to native
ClosedPublic

Authored by inka on Tue, Apr 23, 4:38 AM.
Tags
None
Referenced Files
F1695065: D11738.id39493.diff
Fri, May 3, 1:35 AM
Unknown Object (File)
Thu, May 2, 1:32 PM
Unknown Object (File)
Wed, May 1, 3:51 PM
Unknown Object (File)
Mon, Apr 29, 6:03 PM
Unknown Object (File)
Mon, Apr 29, 3:00 PM
Unknown Object (File)
Sun, Apr 28, 9:35 AM
Unknown Object (File)
Fri, Apr 26, 7:17 PM
Unknown Object (File)
Wed, Apr 24, 2:39 PM
Subscribers

Details

Summary

issue: ENG-7898
Now that this reducer reduces only setAccessTokenActionType , we can move this logic to native, since web doesn't use this action.

Test Plan
  1. Tested that on web CSAT is cleared on logout, and is present when user is logged in
  2. Tested that on logout CSAT is set to an empty string on native
  3. Tested that on login CSAT is set to a non empty string on native
  4. Tested that if setNewSessionActionType with cookieInvalidated is dispatched, then the user is logged out and the CSAT is cleared

+flow

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable