{ "id": "168338", "key": "TIMOB-24808", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "19906", "description": "", "name": "Release 6.3.0", "archived": false, "released": true, "releaseDate": "2017-11-01" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-10-16T21:01:41.000+0000", "created": "2017-06-12T03:25:55.000+0000", "epic": { "id": 168100, "key": "TIMOB-24772", "name": "iOS: Support iOS 11 / Xcode 9", "summary": "iOS: Add support for iOS 11 and Xcode 9", "color": { "key": "color_1" }, "done": false }, "priority": { "name": "High", "id": "2" }, "labels": [ "ios11" ], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-20T10:21:04.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "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 .", "attachment": [], "flagged": false, "summary": "iOS 11 / Android O: Add support for Password AutoFill", "creator": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 948, "state": "closed", "name": "2017 Sprint 19 SDK", "startDate": "2017-09-10T21:24:51.562Z", "endDate": "2017-09-24T21:24:00.000Z", "completeDate": "2017-09-25T17:49:27.460Z", "originBoardId": 114 }, { "id": 951, "state": "closed", "name": "2017 Sprint 20 SDK", "startDate": "2017-09-24T17:50:18.277Z", "endDate": "2017-10-08T17:50:00.000Z", "completeDate": "2017-10-09T20:38:07.840Z", "originBoardId": 114 }, { "id": 959, "state": "closed", "name": "2017 Sprint 21 SDK", "startDate": "2017-10-08T20:38:15.130Z", "endDate": "2017-10-22T20:38:00.000Z", "completeDate": "2017-10-24T23:55:56.605Z", "originBoardId": 114 }, { "id": 944, "state": "closed", "name": "2017 Sprint 18 SDK", "startDate": "2017-08-27T21:13:39.311Z", "endDate": "2017-09-10T21:13:00.000Z", "completeDate": "2017-09-10T21:24:16.435Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "423753", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/9210\r\n\r\nTest Case 1 (Password auto fill)- \r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n\r\nvar userNameField = Ti.UI.createTextField({\r\ntop: 100,\r\nwidth: 150,\r\nhintText:'User Name...',\r\nautofillType:Titanium.UI.AUTOFILL_TYPE_USER_NAME,\r\nbackgroundColor:'red'\r\n});\r\n\r\nvar passwordField = Ti.UI.createTextField({\r\ntop: 200,\r\nwidth: 150,\r\nhintText:'Password...',\r\nautofillType:Titanium.UI.AUTOFILL_TYPE_PASSWORD,\r\nbackgroundColor:'red'\r\n});\r\n\r\nwin.add(userNameField);\r\nwin.add(passwordField);\r\n\r\nwin.open();\r\n{code}\r\n\r\n\r\nTest Case 2 (Other text content type properties, given by apple, in iOS 10 )- \r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n\r\nvar creditCardField = Ti.UI.createTextArea({\r\ntop: 100,\r\nwidth: 150,\r\nbackgroundColor:'red'\r\n});\r\n\r\ncreditCardField.setAutofillType(Titanium.UI.AUTOFILL_TYPE_CARD_NUMBER);// Open keyboard with number pad\r\nTi.API.info(Titanium.UI.AUTOFILL_TYPE_NAME);\r\nTi.API.info(Titanium.UI.AUTOFILL_TYPE_ORGANIZATION_NAME);\r\nwin.add(creditCardField);\r\nwin.open();\r\n{code}\r\n\r\n\r\n*+Note 1 -+* \r\nFor testing test case 1, one need to make few configurations . This is explained in apple video link mentioned in ticket.\r\n\r\n*+Note 2 -+* \r\nThis 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.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-10T04:11:32.000+0000", "updated": "2017-09-14T07:42:00.000+0000" }, { "id": "424422", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "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.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-07-20T03:57:31.000+0000", "updated": "2017-07-20T03:57:31.000+0000" }, { "id": "427348", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Here's the autofill hints for Android\r\n\r\n{code}\r\nAUTOFILL_HINT_USERNAME = UITextContentTypeUsername\r\nAUTOFILL_HINT_PASSWORD = UITextContentTypePassword\r\nAUTOFILL_HINT_EMAIL_ADDRESS = UITextContentTypeEmailAddress\r\nAUTOFILL_HINT_NAME = UITextContentTypeName\r\nAUTOFILL_HINT_PHONE = UITextContentTypeTelephoneNumber\r\nAUTOFILL_HINT_POSTAL_ADDRESS = UITextContentTypeFullStreetAddress\r\nAUTOFILL_HINT_POSTAL_CODE = UITextContentTypePostalCode\r\nAUTOFILL_HINT_CREDIT_CARD_NUMBER = UITextContentTypeCreditCardNumber\r\nAUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE\r\nAUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE\r\nAUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY\r\nAUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH\r\nAUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR\r\n{code}", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-29T11:18:00.000+0000", "updated": "2017-08-29T11:18:00.000+0000" }, { "id": "427410", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/9368", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-30T13:07:36.000+0000", "updated": "2017-08-30T13:07:36.000+0000" }, { "id": "428352", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "6_3_X: https://github.com/appcelerator/titanium_mobile/pull/9472", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-22T20:42:06.000+0000", "updated": "2017-09-22T20:42:06.000+0000" }, { "id": "429092", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR passed for master & backport PR for Android.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-13T20:26:51.000+0000", "updated": "2017-10-13T22:34:59.000+0000" }, { "id": "429710", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix for android in SDK 6.3.0.v20171026120401 & 7.0.0.v20171025141436.\r\n[~ewieber], please close the ticket when IOS verification is done.\r\n\r\nStudio Ver: 4.10.0.201709271713\r\nOS Ver: 10.12.3\r\nXcode Ver: Xcode 8.3.3\r\nAppc NPM: 4.2.10-2\r\nAppc CLI: 6.3.0-master.15\r\nTi CLI Ver: 5.0.14\r\nAlloy Ver: 1.10.6\r\nNode Ver: 7.10.1\r\nJava Ver: 1.8.0_101\r\nDevices: ⇨ Nexus 6P -- Android 8.0", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-26T22:24:25.000+0000", "updated": "2017-10-26T22:24:56.000+0000" }, { "id": "440887", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~lchoudhary],\r\n\r\nWe 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.\r\n\r\n*Test Enviornment:*\r\n\r\n{code}\r\nAxway Appcelerator Studio, build: 5.1.0.201808080937\r\nAppcelerator Command-Line Interface, version 7.0.4\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.13.6\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 8.9.1\r\n npm Version = 5.5.1\r\nTitanium CLI\r\n CLI Version = 5.1.1\r\nTitanium SDK\r\n SDK Version = 7.2.0.GA\r\nDevice: android 8(Huawei y9 2018)\r\n\r\n{code}\r\n\r\n*Test steps*:\r\n* Go to device’s settings and enable the auto fill option.\r\n* Build the sample code. after app launch, click on the textfield\r\n* Here autofill doesn’t prompt me to select google account.\r\n\r\n*Test code:*\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'gray', layout: 'vertical'}),\r\n\tusr = Ti.UI.createTextField({\r\n\t\twidth: Ti.UI.FILL,\r\n\t\thintText: 'USERNAME',\r\n\t\tautofillType: Titanium.UI.AUTOFILL_TYPE_USERNAME\r\n\t}),\r\n\tpwd = Ti.UI.createTextField({\r\n\t\twidth: Ti.UI.FILL,\r\n\t\thintText:'PASSWORD',\r\n\t\tautofillType: Titanium.UI.AUTOFILL_TYPE_PASSWORD\r\n\t});\r\n\r\nwin.add(usr);\r\nwin.add(pwd);\r\n\r\nwin.open();\r\n{code}\r\n\r\n\r\nTest output: [Screenshot|https://downloads.intercomcdn.com/i/o/72221621/3a86d1617642f4d1fd06cfb0/Screenshot_20180816-145108.jpg]\r\n\r\nCan you please double check this? ", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-08-20T10:21:04.000+0000", "updated": "2018-08-20T10:21:04.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }