Page MenuHomePhabricator

[native] Dispatch SET_DATA_LOADED action after SIWE completes
ClosedPublic

Authored by ashoat on Jun 6 2023, 8:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 4, 8:26 PM
Unknown Object (File)
Thu, Apr 4, 8:26 PM
Unknown Object (File)
Thu, Apr 4, 8:26 PM
Unknown Object (File)
Thu, Apr 4, 8:25 PM
Unknown Object (File)
Mar 6 2024, 1:28 PM
Unknown Object (File)
Mar 6 2024, 1:28 PM
Unknown Object (File)
Mar 6 2024, 1:28 PM
Unknown Object (File)
Mar 4 2024, 3:05 AM
Subscribers

Details

Summary

Same as the previous diff, but for native instead of web. Copying description from there:

We want to prevent siweAuthActionTypes.success from directly setting dataLoaded, so that in the new registration flow on native we can defer LoggedOutModal and RegistrationNavigator from being dismissed until after the avatar server call completes.

Instead of having siweAuthActionTypes.success directly set dataLoaded, we'll use this new action instead. A later diff will update reduceDataLoaded so that siweAuthActionTypes.success no longer affects it.

Depends on D8108

Test Plan

Tested registration (SIWE and otherwise) flows on native and web

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable