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

Android: Remove deprecated Ti.UI.KEYBOARD_* constants in favor of TI.UI.KEYBOARD_TYPE_*

    Details

    • Story Points:
      3
    • Sprint:
      2018 Sprint 23, 2018 Sprint 24, 2018 Sprint 25

      Description

      Summary:
      The Ti.UI.KEYBOARD_* type constants were deprecated in Titanium 6.0.0 in favor of our new Ti.UI.KEYBOARD_TYPE_* constants. These deprecated constants should be removed in Titanium 8.0.0.

      Constants to be removed...

      • Ti.UI.KEYBOARD_ASCII
      • Ti.UI.KEYBOARD_DECIMAL_PAD
      • Ti.UI.KEYBOARD_DEFAULT
      • Ti.UI.KEYBOARD_EMAIL
      • Ti.UI.KEYBOARD_NAMEPHONE_PAD
      • Ti.UI.KEYBOARD_NUMBERS_PUNCTUATION
      • Ti.UI.KEYBOARD_NUMBER_PAD
      • Ti.UI.KEYBOARD_PHONE_PAD
      • Ti.UI.KEYBOARD_WEBSEARCH
      • Ti.UI.KEYBOARD_TWITTER
      • Ti.UI.KEYBOARD_URL

      Above constants are to be replaced with...

      • Ti.UI.KEYBOARD_TYPE_ASCII
      • Ti.UI.KEYBOARD_TYPE_DECIMAL_PAD
      • Ti.UI.KEYBOARD_TYPE_DEFAULT
      • Ti.UI.KEYBOARD_TYPE_EMAIL
      • Ti.UI.KEYBOARD_TYPE_NAMEPHONE_PAD
      • Ti.UI.KEYBOARD_TYPE_NUMBERS_PUNCTUATION
      • Ti.UI.KEYBOARD_TYPE_NUMBER_PAD
      • Ti.UI.KEYBOARD_TYPE_PHONE_PAD
      • Ti.UI.KEYBOARD_TYPE_WEBSEARCH
      • Ti.UI.KEYBOARD_TYPE_TWITTER
      • Ti.UI.KEYBOARD_TYPE_URL

      Note:
      We must also remove deprecated constant Ti.UI.KEYBOARD_APPEARANCE_ALERT. While this constant is only supported on iOS, it is currently defined on Android to avoid JavaScript runtime errors.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                jquick Joshua Quick
                Reviewer:
                Gary Mathews
                Tester:
                Keerthi Mahalingam
              • 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 Source Code