Session Android & iOS

Topic: Session Android & iOS

We have developed apps for these two systems and have saved the session with fixes. Is there a way to save accounts like your Wialon Telematics app does?

If possible, could you help us to know how we can carry out a procedure or what methods do we use to carry out the saving of the session of account in the devices?

We wait comments, please.


Session Android & iOS

Re: Session Android & iOS

To work with platform you need to have sessionID (sid). Sid is valid for 5 min. To get sid you need to login to system using authorization form, there you will obtain access_token which you may use for login. After session ends you may silently update sid using saved token.
You may store token in secure place like Keychain on iOS or Account Manager on Android.