Page MenuHomePhabricator

[native] Don't dispatch an undefined token
ClosedPublic

Authored by tomek on Feb 21 2024, 4:39 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 7, 11:05 AM
Unknown Object (File)
Fri, Sep 6, 11:55 PM
Unknown Object (File)
Fri, Sep 6, 11:55 PM
Unknown Object (File)
Fri, Sep 6, 10:39 PM
Unknown Object (File)
Aug 15 2024, 7:28 PM
Unknown Object (File)
Aug 14 2024, 5:08 PM
Unknown Object (File)
Aug 11 2024, 9:40 PM
Unknown Object (File)
Jul 31 2024, 1:39 PM
Subscribers

Details

Summary

CommCoreModule can return an undefined token. We're replacing it with null, because otherwise redux-persis won't persist it.

https://linear.app/comm/issue/ENG-6849/expected-keys-not-rehydrated-[commservicesaccesstoken]

Test Plan

Without this diff: restart the app - the warning should be shown. Apply this diff and restart the app - the warning shouldn't appear.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable