thank you so much no one gave this kind of full information in one video, we all need this. good tutor . thank a lot. i really needed someone to tell me from splash screen to end screen thank you!!!!!
Hello. Thanks for your video. It works for my project. I'm new to Jetpack compose. However, I wanted to know how you configured the MainActivity since I followed all the instructions you gave and the app closes on the login page. I think it has to do with the route placed in the MainActivity. Thank you so much.
For you to achieve this, you must implement SharedPreferences or the data store in the app. This means that when the user login, you must store a flag or some information. To do this, simply check on the splash screen to see whether you have user data, and if not, you can then reroute the MainPage or Login.
@@pixeldesigndeveloper I got it to work! Now my navcontroller is leading me out of the app once I press sign in, but im sure I did something wrong. Thank you so much!
You have to do the same things I did in the video In the video, if you see the Login page to MainScreen, it follows the same flow as you mentioned. let me know if this helps you.