Page MenuHomePhabricator

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

Authored by inka on Apr 23 2024, 4:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 6, 3:01 PM
Unknown Object (File)
Sun, Nov 3, 2:28 AM
Unknown Object (File)
Fri, Nov 1, 7:37 PM
Unknown Object (File)
Sat, Oct 26, 8:40 AM
Unknown Object (File)
Sun, Oct 20, 7:31 AM
Unknown Object (File)
Oct 12 2024, 6:39 AM
Unknown Object (File)
Oct 11 2024, 3:50 PM
Unknown Object (File)
Oct 11 2024, 3:50 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