Page MenuHomePhabricator

[native] Don't dispatch an undefined token
ClosedPublic

Authored by tomek on Feb 21 2024, 4:39 AM.
Tags
None
Referenced Files
F2170438: D11128.id37408.diff
Tue, Jul 2, 2:14 PM
Unknown Object (File)
Mon, Jul 1, 4:29 AM
Unknown Object (File)
Mon, Jul 1, 2:44 AM
Unknown Object (File)
Sun, Jun 30, 9:51 PM
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
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
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage