Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26560] Android: Remove deprecated Ti.UI.KEYBOARD_* constants in favor of TI.UI.KEYBOARD_TYPE_*

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2018-12-06T18:12:13.000+0000
Affected Version/sn/a
Fix Version/sRelease 8.0.0
ComponentsAndroid
LabelsTextArea, TextField, android, breaking-change, keyboard
ReporterJoshua Quick
AssigneeJoshua Quick
Created2018-11-14T22:12:34.000+0000
Updated2018-12-06T18:12:28.000+0000

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.

Comments

  1. Keerthi Mahalingam 2018-11-16

    FR passed. waiting for CR and merge.
  2. Christopher Williams 2018-12-06

    PR was FR'd prior to merge.

JSON Source