[TIMOB-24808] iOS 11 / Android O: Add support for Password AutoFill
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-10-16T21:01:41.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.3.0 |
Components | Android, iOS |
Labels | ios11 |
Reporter | Vijay Singh |
Assignee | Gary Mathews |
Created | 2017-06-12T03:25:55.000+0000 |
Updated | 2018-08-20T10:21:04.000+0000 |
Description
iOS 11 offers new feature Password AutoFill, that makes logging in easy by putting users password directly on keyboard in login UI. This can be done by supporting UITextContentType in UITextField and UITextView. For detail follow apple wwdc video : https://developer.apple.com/videos/play/wwdc2017/206 .
PR: https://github.com/appcelerator/titanium_mobile/pull/9210 Test Case 1 (Password auto fill)-
Test Case 2 (Other text content type properties, given by apple, in iOS 10 )-
*+Note 1 -+* For testing test case 1, one need to make few configurations . This is explained in apple video link mentioned in ticket. *+Note 2 -+* This ticket has been used to implement the other text content type properties, which are already given by apple in iOS 10 also. Test case 2 is for this.
We discussed this yesterday and found out that Android has an Autofill-API in Android O as well. So we will wait for parity here before doing iOS.
Here's the autofill hints for Android
master: https://github.com/appcelerator/titanium_mobile/pull/9368
6_3_X: https://github.com/appcelerator/titanium_mobile/pull/9472
FR passed for master & backport PR for Android.
Verified the fix for android in SDK 6.3.0.v20171026120401 & 7.0.0.v20171025141436. [~ewieber], please close the ticket when IOS verification is done. Studio Ver: 4.10.0.201709271713 OS Ver: 10.12.3 Xcode Ver: Xcode 8.3.3 Appc NPM: 4.2.10-2 Appc CLI: 6.3.0-master.15 Ti CLI Ver: 5.0.14 Alloy Ver: 1.10.6 Node Ver: 7.10.1 Java Ver: 1.8.0_101 Devices: ⇨ Nexus 6P -- Android 8.0
[~lchoudhary], We tested the Password AutoFill option on Android. We got two different behaviour. *Autofill* is working as expected on Android 8 , Samsung j7 device. But using Android 8.1 device the *Autofill* is not working on customer’s end. We got the same behaviour also on Android 8(Huawei y9 2018) device. *Test Enviornment:*
*Test steps*: * Go to device’s settings and enable the auto fill option. * Build the sample code. after app launch, click on the textfield * Here autofill doesn’t prompt me to select google account. *Test code:*
Test output: [Screenshot](https://downloads.intercomcdn.com/i/o/72221621/3a86d1617642f4d1fd06cfb0/Screenshot_20180816-145108.jpg) Can you please double check this?