HomePhabricator
Diffusion Comm 16c254000a64

[native] Allow LOG_IN ReactNav action to dismiss RegistrationTerms

Description

[native] Allow LOG_IN ReactNav action to dismiss RegistrationTerms

Summary:
During the registration server call, we want to prevent RegistrationTerms from being dismissed so that eg. a user pressing the Android hardware back button won't make it "go back".

However, we want to allow the LOG_IN ReactNav action to dismiss RegistrationTerms, so that when registration concludes the user is visibly logged in.

This diff solves ENG-8037 by differentiating the LOG_IN action.

Test Plan: Make sure registration flow logs the user in at the end

Reviewers: ginsu

Reviewed By: ginsu

Subscribers: tomek

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

Details

Provenance
ashoatAuthored on Fri, May 3, 12:56 PM
Reviewer
ginsu
Differential Revision
D11867: [native] Allow LOG_IN ReactNav action to dismiss RegistrationTerms
Parents
rCOMM2d4677a72526: [lib] Narrow `canToggleMessagePin` and `useCanToggleMessagePin` types
Branches
Unknown
Tags
Unknown