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)
Wed, Jun 26, 10:59 AM
Unknown Object (File)
Fri, Jun 21, 10:52 AM
Unknown Object (File)
Fri, Jun 21, 10:52 AM
Unknown Object (File)
Fri, Jun 21, 9:22 AM
Unknown Object (File)
Fri, Jun 21, 9:21 AM
Unknown Object (File)
Sun, Jun 16, 7:12 PM
Unknown Object (File)
Mar 10 2024, 12:23 AM
Unknown Object (File)
Mar 3 2024, 1:56 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