Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-27869

Android: KEYBOARD_TYPE_ASCII should not allow emoji like iOS

    Details

    • Story Points:
      7
    • Sprint:
      2020 Sprint 9, 2020 Sprint 10, 2020 Sprint 11, 2020 Sprint 12, 2020 Sprint 13

      Description

      Summary:
      On iOS, KEYBOARD_TYPE_ASCII allows the end-user to enter all characters (including non-English letters) except emoji.

      On Android, this keyboard type accepts all characters. It should be changed to filter out emoji characters for parity with iOS. If you want a keyboard that accepts all characters, then use KEYBOARD_TYPE_DEFAULT instead.

      Use-Case:
      You would normally use KEYBOARD_TYPE_ASCII for login/user name entry. Emoji characters are not typically appropriate for this type of input.

      Test Code:

      var window = Ti.UI.createWindow();
      window.add(Ti.UI.createTextField({
      	keyboardType: Ti.UI.KEYBOARD_TYPE_ASCII,
      	width: "90%",
      }));
      window.open();
      

        Attachments

          Activity

            People

            • Assignee:
              jquick Joshua Quick
              Reporter:
              jquick Joshua Quick
              Reviewer:
              Gary Mathews
              Tester:
              Samir Mohammed
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration