Please help me. If the blocks are like in the first image, when the application is run, the display gets stuck on the splash screen and does not proceed to another screen. However, if the blocks are like in the second image, the application immediately goes to the “Enter PIN” screen (right after the splash screen).
But what I want is: when the user has never logged in before (meaning there is no user data saved in TinyDB), the app should open the login screen after the splash screen. On the other hand, if the user’s login data is already stored in TinyDB, then the app should directly navigate to the “Enter PIN” screen right after the splash screen, without having to go through the login process again.
I have tried many methods based on suggestions from people in the community in previous question, but none of them have worked so far.
Are u tested it on companion or on your phone? 'Cause when i tested it on companion its worked but when i tested it on my phone (the apk) it keep get stuck. Do you have idea wheres the mistake from?