{ "id": "174958", "key": "TIMOB-27870", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "20950", "name": "Release 9.1.0", "archived": false, "released": true, "releaseDate": "2020-08-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-08-11T14:53:23.000+0000", "created": "2020-04-28T01:09:44.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "TextArea", "TextField", "android", "emoji", "keyboardType", "parity" ], "versions": [], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-08-11T14:53:23.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" } ], "description": "*Summary:*\r\nOn iOS, {{KEYBOARD_TYPE_NUMBERS_PUNCTUATION}} allows all characters to be entered such as letters (all languages), numbers, and symbols... but not emoji. The only difference between this keyboard type and {{KEYBOARD_TYPE_ASCII}} is that iOS shows the \"Numbers and Punctuations\" keyboard layout by default when shown, but still allows the end-user to switch keyboards if they wish.\r\n\r\nOn Android, this keyboard type won't let the end-user enter any letters/symbols from any language. It will automatically filter them out when the end-user attempts to enter them. This keyboard type should be changed to match iOS' behavior.\r\n\r\n*Test Code:*\r\n{code:java}\r\nvar window = Ti.UI.createWindow();\r\nwindow.add(Ti.UI.createTextField({\r\n\tkeyboardType: Ti.UI.KEYBOARD_TYPE_NUMBERS_PUNCTUATION,\r\n\twidth: \"90%\",\r\n}));\r\nwindow.open();\r\n{code}\r\n\r\n*Note 1:*\r\nThe iOS {{UIKeyboardTypeNumbersAndPunctuation}} and {{UIKeyboardTypeASCIICapable}} types are commonly used to display keyboards without emoji. This is the most important detail we need to replicate on Android.\r\n\r\n*Note 2:*\r\nAndroid does not have an API which lets us display the numbers side of the keyboard by default when using a normal text keyboard. So, this is something we can't replicate from iOS.\r\n", "attachment": [], "flagged": false, "summary": "Android: KEYBOARD_TYPE_NUMBERS_PUNCTUATION should allow all chars except emoji like iOS", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1194, "state": "closed", "name": "2020 Sprint 9", "startDate": "2020-04-24T17:09:51.572Z", "endDate": "2020-05-08T17:09:00.000Z", "completeDate": "2020-05-08T15:40:07.869Z", "originBoardId": 114 }, { "id": 1195, "state": "closed", "name": "2020 Sprint 10", "startDate": "2020-05-08T16:37:58.282Z", "endDate": "2020-05-22T16:37:00.000Z", "completeDate": "2020-05-21T15:26:11.089Z", "originBoardId": 114 }, { "id": 1196, "state": "closed", "name": "2020 Sprint 11", "startDate": "2020-05-26T15:56:00.000Z", "endDate": "2020-06-05T15:56:00.000Z", "completeDate": "2020-06-08T21:05:50.356Z", "originBoardId": 114 }, { "id": 1198, "state": "closed", "name": "2020 Sprint 12", "startDate": "2020-06-08T21:06:41.849Z", "endDate": "2020-06-19T21:06:00.000Z", "completeDate": "2020-06-19T15:54:38.493Z", "originBoardId": 114 }, { "id": 1199, "state": "closed", "name": "2020 Sprint 13", "startDate": "2020-06-19T16:41:04.099Z", "endDate": "2020-07-02T16:41:00.000Z", "completeDate": "2020-07-02T15:37:12.455Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "455269", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/11662", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-28T02:40:51.000+0000", "updated": "2020-04-28T02:40:51.000+0000" }, { "id": "456057", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, Waiting on Jenkins build.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-07-13T14:47:53.000+0000", "updated": "2020-07-13T14:47:53.000+0000" }, { "id": "456087", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master for 9.1.0 target", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-07-14T19:27:35.000+0000", "updated": "2020-07-14T19:27:35.000+0000" }, { "id": "456408", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket*. Improvement verified in SDK version {{9.1.0.v20200810120239}}.\r\n\r\n*Test and other information can be found at:*\r\nhttps://github.com/appcelerator/titanium_mobile/pull/11662", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-11T14:53:15.000+0000", "updated": "2020-08-11T14:53:15.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }