Android-SmartWebView icon indicating copy to clipboard operation
Android-SmartWebView copied to clipboard

How does ASWP_SFORM work? How can i make the webview save users details?

Open nathanm95 opened this issue 6 years ago • 7 comments

On a normal browser users can save their username and password for next time. Iphone does a similar thing on iphone with its face id? is this possible to get working for a webview. ASWP_SFORM looks like it might help.

nathanm95 avatar Jun 19 '19 10:06 nathanm95

I think you have to add this in your code like this Warning: I did't tried it practically.

ssmrasu avatar Jun 19 '19 10:06 ssmrasu

surely you can make webview behave like a normal browser to save form data (like email, password, addresses etc), by checking ASWP_SFORM to true.

By default it's false just for aesthetic reasons.

mgks avatar Jun 19 '19 10:06 mgks

I have set ASWP_SFORM to true and hasnt seemed to do anything

nathanm95 avatar Jun 19 '19 11:06 nathanm95

how are you testing it? Quick run or proper app uninstall and install?

mgks avatar Jun 19 '19 11:06 mgks

you should atleast tell us whether it worked or not before closing the thread. it might help other users understand what works and what not. Can you please confirm @nathanm95 what's your last status?

mgks avatar Jun 19 '19 11:06 mgks

I wanted to delete my comment not close the case. I dont use this very often. I have uninstalled and reinstalled to no help. From what i have read online I think i might need to write a cookie for my website. Then use this to save username.

nathanm95 avatar Jun 19 '19 11:06 nathanm95