Hey there! thanks for watching. Please leave a LIKE and use the Timestamps below to go through the video if you want. 00:00 Intro & Preview 00:21 Getting Started 02:40 Monitoring App Readiness 04:18 Checking Async Storage 06:43 Introducing Context API 11:26 Most Important Part! 17:49 Modifying Signup 19:12 New Problem 21:17 Handling Logout 23:00 Testing the App 23:50 Summary & Conclusion
I built this project fully and really enjoyed it. If you end up continuing this series, it would be really awesome to learn how to setup bottom tab navigation alongside the stack navigation on pages once logged in from the welcome page forward
This tutorial was so clear and helpful, very goob job! I really like your style of explaining and everything seems so clean and organised, it was actually the only tutorial that helped me with every step! Thank you a lot! Keep up the good work :)
@@ToThePointCode hello please I followed your tutorial and tried adding bottomtabnavigation to my own project, but it seems to be conflicting with the rootstack we did earlier...what could be done?
I'm not quite sure about your app flow but if you want the bottom tabs to be available after signin, you have to embed the bottom tabs with its screens in the stack navigator.
The AsyncStorage should not be imported as import {AsyncStorage} from '@react-native-community/async-storage'; But actually as import AsyncStorage from '@react-native-community/async-storage'; Wonderful tutorial, explained perfectly. Thank You
can you continue this series brother? This is amazing and easy to learn. And can you make a shopping cart and function of it as well.not just the UI of cart, but with functions. :)
thanks for the tutorial , and how do you manage the user's token ? especially when it has expired because they will be some request that would obviously need the users token
Good but, you shouldn't use AsyncStorage to store credentials because it isn't encrypted. Better to use something like `react-native-keychain` as noted in the React Native documentation.
Wonderful Demonstration. But I am having some trouble storing data to localhost. On the login page when I push "credentials" in "setStoredCredentials", it is showing me an error stating "Expected 0 arguments, but got 1.". Can you please help me with that?
Have you fixed it yet? If not, you can check the definition of the setStoredCredentials function again. It looks like you are missing the list of expected parameters.
@@ToThePointCode Also having this problem ive traced it to when i am wrapping the rootstack screens in the {storedCredentials ? () : ()} in RootStack.js. Before this everything works fine. just cant understand why this would not return a useable stack or throw an error will let you know if i find a fix
in the login.js when i log in i receive the next error: setStoredCredentials is not a function. (In 'setStoredCredentials(credentials)', 'setStoredCredentials' is undefined)
Hi, I keep getting "TypeError: render is not a function. (In 'render(newValue)', 'render' is an instance of Object)" when I try to run it. How do I resolve this?
Hi to the point code, my login page states sign in successful but it does not redirect to the home screen and no error is displayed in the console. Any suggestions you can render??
The redirection should happen automatically once you the context setup right and the conditions over here 11:27. You can try logging your values to the console at each point to see if they aren't undefined.
This is not a right way to do this, in every app you have to be 100% sure that every thing will not go out of plan. In this situation what if the user has changed his password or anything from his credentials from another device and is logged in this device is that right ???
My biggest problem with your videos is you code for too long without running the code, which leads to people following along having various errors. Then you don't know what you broke because you made us edit like 4-5 files all at once. Please run your code more often thank you
Hey there! thanks for watching. Please leave a LIKE and use the Timestamps below to go through the video if you want.
00:00 Intro & Preview
00:21 Getting Started
02:40 Monitoring App Readiness
04:18 Checking Async Storage
06:43 Introducing Context API
11:26 Most Important Part!
17:49 Modifying Signup
19:12 New Problem
21:17 Handling Logout
23:00 Testing the App
23:50 Summary & Conclusion
I built this project fully and really enjoyed it. If you end up continuing this series, it would be really awesome to learn how to setup bottom tab navigation alongside the stack navigation on pages once logged in from the welcome page forward
Sure man 🤝
I'm so happy that I found your channel. The clearest explanation. You did a great job. Thank you so much. This series of videos have helped me a lot
You're very welcome!
This tutorial was so clear and helpful, very goob job! I really like your style of explaining and everything seems so clean and organised, it was actually the only tutorial that helped me with every step! Thank you a lot! Keep up the good work :)
That's good to know.
Thanks a lot for the feedback 🤝
@@ToThePointCode hello please I followed your tutorial and tried adding bottomtabnavigation to my own project, but it seems to be conflicting with the rootstack we did earlier...what could be done?
I'm not quite sure about your app flow but if you want the bottom tabs to be available after signin, you have to embed the bottom tabs with its screens in the stack navigator.
@@ToThePointCode alright thank you so much
You're welcome.
The AsyncStorage should not be imported as
import {AsyncStorage} from '@react-native-community/async-storage';
But actually as
import AsyncStorage from '@react-native-community/async-storage';
Wonderful tutorial, explained perfectly. Thank You
Very clear explanation. As in, each 'dot' was thoroughly explained. Thank you. And besides, I like the name of the channel
Haha thanks a lot Elias!
You're so awesome! Please keep up with the great work like these. Thank you so much!
Thanks for watching!
can you continue this series brother? This is amazing and easy to learn. And can you make a shopping cart and function of it as well.not just the UI of cart, but with functions. :)
Well noted, man. Thanks for watching 👍
Very helpful tutorial, thank you sir and keep going...
Thank you 🤝
thanks for the tutorial ,
and how do you manage the user's token ? especially when it has expired because they will be some request that would obviously need the users token
Hi , super Tuto ! Wouldn't it be better to store user information in the secureStore ? thank's
thanks 👍👍
Good but, you shouldn't use AsyncStorage to store credentials because it isn't encrypted. Better to use something like `react-native-keychain` as noted in the React Native documentation.
Thanks man, will look into that.
App loading is depriciated as at now so please i need help am trying to use activity indicator
Wonderful Demonstration. But I am having some trouble storing data to localhost. On the login page when I push "credentials" in "setStoredCredentials", it is showing me an error stating "Expected 0 arguments, but got 1.". Can you please help me with that?
Have you fixed it yet?
If not, you can check the definition of the setStoredCredentials function again. It looks like you are missing the list of expected parameters.
@@ToThePointCode Not yet... I removed the parameter that were passed in credentialContext file.
is anyone having white screen problem ?
🤔
@@ToThePointCode Also having this problem ive traced it to when i am wrapping the rootstack screens in the {storedCredentials ? () : ()} in RootStack.js. Before this everything works fine. just cant understand why this would not return a useable stack or throw an error will let you know if i find a fix
me!!
@@ToThePointCode I'm having that right now :(
in the login.js when i log in i receive the next error: setStoredCredentials is not a function. (In 'setStoredCredentials(credentials)', 'setStoredCredentials' is undefined)
It looks like the value of the function isn't passed properly. You have to check the code.
How far with it?
Hi, I keep getting "TypeError: render is not a function. (In 'render(newValue)', 'render' is an instance of Object)" when I try to run it. How do I resolve this?
After closing the app and opening it again it goes back again to the login page..can you Please help
Well, that shouldn't be the case if you did everything right.
End the metro server and restart the application.
How to add user to firebase sir?
Noted for future videos 👍🏽
Thanks sir. Can we use Firebase authentication without ejecting expo?
That should be possible.
Expo has a guide on that
docs.expo.io/guides/using-firebase/
@@ToThePointCode thank you so much
You're welcome, Farsanun 🤝.
Hi to the point code, my login page states sign in successful but it does not redirect to the home screen and no error is displayed in the console. Any suggestions you can render??
The redirection should happen automatically once you the context setup right and the conditions over here 11:27.
You can try logging your values to the console at each point to see if they aren't undefined.
@@ToThePointCode oh Thanks man, forgot about the root stack. Appreciated!!
You're welcome man 👊🏽✌️
Hey, my logout button is not working!!! Can you please help?
What does it say, any error?
Also are you done watching the video please?
Check if OnPress= ()=>{} u did or not namrita?
This is not a right way to do this, in every app you have to be 100% sure that every thing will not go out of plan. In this situation what if the user has changed his password or anything from his credentials from another device and is logged in this device is that right ???
Thanks for the feedback 👍🏽.
Hi man.. Do you have a solution to that?
My biggest problem with your videos is you code for too long without running the code, which leads to people following along having various errors. Then you don't know what you broke because you made us edit like 4-5 files all at once.
Please run your code more often thank you
Well noted, thanks 🤝.
excellent, what is your email?
tothepointcode@gmail.com