This question has already been answered:
- How to cache incoming token? 1 reply
A request is sent from the imei phone, a token is returned in response, the token should be saved when you exit and start the application.
The problem is that the token is temporary and a new one is issued every hour.
Here is the code that saves the received token, but is not updated with the new one. pastebin.com/vYsvs4kH
How to solve this problem?
как обновить его
whom? - Vladyslav Matviienko 6:02 pm