I am working on a Cordova (~PhoneGap, ~Ionic) App and I followed the Apple guidelines and added to autocomplete attributes to my HTML login form to ask users whether they want to save their credentials when they try to sign up.
On Android the popup that asks the user whether they want to store their credentials correctly appears and I'm able to pick my stored credentials the next time I try to log in. That's not the case on iOS though.
The first thing that comes to my mind that could prevent the webview to associate passwords and domains for iOS is the fact that I use a custom domain for the latter (eg. iosapp://).
I cannot change the custom domain in use, is there a way to still let it prompt the user to save their credentials?
This issue can be reproduced in this way:
- Add the plugin cordova-plugin-ionic-webview to a Cordova App (cordova-ios 5.1.0)
- Add
<preference name="Hostname" value="somescheme" />
to your config.xml to specify a custom hostname for your app (the default one is ionic:// and i believe that too would have the same issue) - onDeviceReady redirect to my PoC (that works in all other browsers):
window.location.href = 'https://gabriele-sacchi.github.io/pocs/biometric';