Login System
What's the best way to handle logging into the app using our websites API? I want to be able to have them login once and save the info to the phone and when the app is loaded grab what's on the phone to re-verify before proceeding.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
What's the best way to handle logging into the app using our websites API? I want to be able to have them login once and save the info to the phone and when the app is loaded grab what's on the phone to re-verify before proceeding.
Hello! "our websites API" - so you use your web site API? Save data (for example token you get while authorization) into localStorage and check if it's valid (if it has expiration time) using your site API.
Is there a way to encrypt this data when it is written to local storage ?
You could use any encryption JS library. For examlpe this one : https://code.google.com/p/crypto-js/