DoormanProvider
, or withPhoneAuth
. It doesn't have to be a direct child, but it just has to be inside of it somewhere.useState
calls in your custom flow?usePhoneAuthState
, which has a global, shared state across your app of the current onboarding state.phoneNumber
as a param from from one screen to another. It just, works, with a shared state across screens.