06-03-2019 04:07
06-03-2019 04:07
Hi, my app sends a message every minute with info from the user to a database. The problem is that I'm going to install the app in many devices, which are going to send the data to the same database. For that reason I need to include in the message who's sending the message for example the user id or the name. Is there a way to achieve that? Or any different way. Thank you.
06-03-2019 13:01
06-03-2019 13:01
Unfortunately, there's no unique device ID or user ID. You could make users authenticate via the Settings API, or perhaps assign them a unique ID on their first request.