Use the SwitchNavigator in React Navigation for an Authentication Flow (React Native)

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

I’ve been looking exactly for this logic and implementation since a long time and discovered this. It helped me a lot, thanks 🙏

neerajsaxena
Автор

Cool! I wasn't aware of the SwitchNavigator!

proprogramming
Автор

what does isSIgnedIn function look like?

sudonitin
Автор

how to keep showing bottom tab when you switch screen ?

makisetakashi
Автор

Awesome, I was looking for the same. Thanks for sharing

writeptiwari
Автор

Good tutorial
Can you create a DrawerNavigator with pages that have header? Header always appear just in StackNavigator but i want header also in DrawerNavigator

MohammadZare
Автор

how to pass parameters when switching routes?
iam aware of passing parameters locally between navigator's screens, but didnt find and information about passing it with switchNavigator and using it in the navigator i switched to.
thanks in advance

MrStarba
Автор

hi, im trying to pass some params using navigate("signedIn", params) in auth.js and I tried to print out the value of params in Home but the value of params is undefined . Can you help me ?

HaziqHafizi
Автор

Do you have any tutorials on deploying to App/Play Stores with RN? Particularly if you aren't using Expo?

CoryTheSimmons
Автор

This is just PERFECT. I was struggling about how to manage that change of routes for days on internet. I got only one doubt, how does that "export default ({ navigation })" works? How can the application know that this page refers to a "SignedIn" page for example? On my code, im declaring the class as "export default class SignedIn extends Component {}", i couldnt find a place to put that {navigation} reference in my case.

bringon_
Автор

Could you help me and do the same but with a stacknavigator. i have a stack navigator that works around my signedin and sign up screens. but i have a problem when i want to sign out

David
Автор

Nice :-) Thanks for all the great work you do.

francesco.fiorenza
Автор

Nice video. Is there any way to show transition animation from SignedOut to SignedIn? Otherwise it does not seem different than using StackNavigator for this.

RizwanAhmed-peqq
Автор

why the video posted just 3 weeks ago but the code on github is set 11 months ago ?

FerySanjayaKoda
Автор

am sign in to the app and am closed the app without sign out .if am again opening the app user will keep log in or log our?

sibichakaravarthy
Автор



I am getting this error because RNN is now on v3
location:
route.js line 66 (createRootNavigator)

MHP
Автор

CAN WE MAKE INFINITE SCROLL WITH CARD COMPONNETS? LIKE INSTAGRAM
IF YOU ANSWER I WILL BE APRECIATE:)

denizdengeliyorum
Автор

he has the biggest i've ever seen!!! of course i mean cursor but still never seen a big one like that XD

benjaminauer
join shbcf.ru