A way to check if it is the first time the user opens the app

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

  1. When user opens app, make a Boolean var named logged in.

  2. In Screen1.initialize block, check whether the value of a tag named “logged in” exists or not.

  3. If not then set the value as true.

  4. 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

1 Like

@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

1 Like

I see, thanks

1 Like

Thanks, it worked

1 Like

Your most welcome :hugs:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.