[TIMOB-26094] iOS 12: Add Password Autofill improvements
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-07-12T07:11:13.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 7.4.0 |
Components | iOS |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2018-06-05T18:04:35.000+0000 |
Updated | 2018-09-05T17:34:22.000+0000 |
Description
iOS 12 offers a number of new API's to manage password autofill in text-fields and text-areas. We should expose them as part of the existing toolset and consider parity as well.
More docs:
- https://developer.apple.com/documentation/uikit/uitextinputpasswordrules
- https://developer.apple.com/documentation/uikit/uitextinputtraits/2980934-passwordrules
- https://developer.apple.com/documentation/uikit/uitextcontenttypenewpassword
- https://developer.apple.com/documentation/uikit/uitextcontenttypeonetimecode
PR: https://github.com/appcelerator/titanium_mobile/pull/10088 Test-Case: (Coming later this week)
Test-case (requires the autofill-setup described in TIMOB-24808):
Expected behavior: When using the iOS 12 suggested password feature, it will fill the text-field with a value that matches the password-rules requirement.
cherry picked the fix to 7_4_X branch: https://github.com/appcelerator/titanium_mobile/commit/98611ac5240a85473ff0d0eec8d4df13d0c9a66b
Verified implemented with SDK builds 7.4.0.v20180829013317 & 7.5.0.v20180904155047