Search code examples
androidparse-platformtokenusersession

Parse.com Only one device session for a user. Android


I'm currently building an app that has Parse at its backend. I've realized that a user can log in to his account in multiple devices. Is there a way I could restrict this to only one device at one time? If so can you kindly explain the method. Thanks in advance.


Solution

  • you need to monitor the application will your web environment (webservice for example) As soon as someone you login you must disconnect the other devices connected to the same user.

    You can analyze it by IMEI who made the last login request and send a command to the other devices of the same user to remove access.