Can I save in tinydb the last screen that a user has seen, so that when the app is opened again, it returns to that last visited screen? Thanks.
yes you can do that
Yes that’s simple actually. Just save the screen name in the tinyDB and open the stored value when screen1 initializes.
do you have an example of how to do it in the blocks, please.
Do you use screen1 as one of these screens or not?
no, I don’t use screen1
Use this block in screen1:
Then this one for any other screen:
replacing ‘Screen2’ with whatever the name of the screen is.
Super, thank you very much, I’m going to put it into practice. Thank you.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.