You can as of now only get the platform (android or ios) but you do not need to know the device actual name or what platform. You just need a unique ID for it. The other option is, is make a value, and if it is = to the device name then allow login, and if not then don’t log in.
So make a tag called logged and set it to the unique device name.
Now when this device signs in then thats all good. And just add a listener on every screen and log in, if tag logged is = to device name then allow access, and if not return to log in.
If a new user logs in, set the tag logged to its device name, so now it is set as the current user.
This means that for features like in Spotify where you can select devices, can’t be a thing. But it is a valid option, I believe.