HomePhabricator
Diffusion Comm ad384a05380c

[native] Dispatch SET_DATA_LOADED action after SIWE completes

Description

[native] Dispatch SET_DATA_LOADED action after SIWE completes

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

Reviewers: atul, ginsu

Reviewed By: atul

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D8109

Details

Provenance
ashoatAuthored on Jun 5 2023, 8:51 AM
Reviewer
atul
Differential Revision
D8109: [native] Dispatch SET_DATA_LOADED action after SIWE completes
Parents
rCOMM8fdf7bae1900: [web] Dispatch SET_DATA_LOADED action after SIWE completes
Branches
Unknown
Tags
Unknown