User Data Loads Automatically

Hey Guys , I am trying to create an App but facing a problem and what I want is everytime when user enters the app their Progress should resume from where they left it as I am making a Quiz App so , FOR Eg :- If a user exits the app at question 4 and when the app opens again I want the user to start playing from question 4 , so please help me on how its done .

Use TinyDB component

So does it loads the user data every time?

It stores text
You can retrieve that text next time
https://docs.kodular.io/components/storage/tiny-db/

Use Tiny db with if, then and else conditions.

When user open app for first time When user at 5th Question, store value to tiny db.

When user open app next time when screen initialize if get value is equal to stored value then show him Question 6 else start from Question 1

1 Like

Ok will try that