My app requires login, and I have a Remember username and password ability. The username and password is then stored with
Remember username and password
localStorage.s
Saving password inside localStorage is not a secure approach. If you're using PhoneGap, try to save username & password inside iOS Keychain. Have a look at this plugin: https://github.com/shazron/KeychainPlugin