I have an app which communicates to webserver. This webserver has SQLite database on it.
User can log on to their account from the app.
I want to ensure that if user is already logged in from one device, he should not be able to log in at the same time from other device.
How can I achieve that?
Just a little bit of trick can do the task:
If you are already logged in another app then that Bool would have become True which means you can do the login.
Hope this trick would help you a lot