A way to check if it is the first time the user opens the app
You can achieve it with the help of tinyDB with a little of logic
-
When user opens app, make a Boolean var named logged in.
-
In Screen1.initialize block, check whether the value of a tag named “logged in” exists or not.
-
If not then set the value as true.
-
Else if it’s already true, continue the app
Hope so that this will help you, and I’m changing the category of topic from Feature Request → Discuss
@Horizon That might work, although I have a question, if the user clears the cache, will the application also think that the user opened the app for the first time? Or does that not make sense?
It won’t I guess, that will only happen on either clearing the data or deleting the application as a whole
I see, thanks
Thanks, it worked
Your most welcome
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.