Prevent multiple devices to use the same account and send Gmail verification or sms without extensions

Hi, I’m trying to set it so that the app will kick any user using multiple devices from their devices (just like in Roblox) and also send a Gmail verification or sms to users who tries to add a Gmail or phone number in case of forgetting their username or password. Here’s the app if you need it: Healthyality.aia (1.1 MB) (Only the login screen works now) Thanks for anyone who could help!

You could maintain a tag in cloudDB of all users who are signed in, then test this list when a user tries to sign in. if they are already in the list then they are refused access.

The difficult part is removing their name from the list, users are users, you cannot rely on them to sign out of the app when they are finished. You could set a timer, which removes their name after a couple of minutes...allowing them to sign in from a different or the same device again.

You could use Firebase to send an OTP for verification purposes

Use the ActivityChanged event from the tools extension to detect, if a user closes the app and remove the user automatically

Taifun

(post deleted by author)

I don’t really want to use extensions… :sweat_smile:

I have overseen this in your subject...
Btw why don't you want to use extensions? Are you developing for iOS?

Taifun

Yeah

I’ll try, ty!