Page MenuHomePhabricator

[native] Don't dispatch an undefined token
ClosedPublic

Authored by tomek on Feb 21 2024, 4:39 AM.
Tags
None
Referenced Files
F2157884: D11128.diff
Mon, Jul 1, 2:44 AM
F2155562: D11128.id.diff
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
Unknown Object (File)
Fri, Jun 21, 9:21 AM
Unknown Object (File)
Sun, Jun 16, 7:12 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