Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

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

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2018-11-30T15:53:52.000+0000
Affected Version/sRelease 7.5.0
Fix Version/sRelease 8.0.0
ComponentsWindows
LabelsTextArea, TextField, breaking-change, keyboard
ReporterJoshua Quick
AssigneeKota Iguchi
Created2018-11-15T00:41:47.000+0000
Updated2018-12-04T10:37:48.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_URL * Ti.UI.KEYBOARD_APPEARANCE_ALERT 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_URL

Comments

  1. Kota Iguchi 2018-11-15

    https://github.com/appcelerator/titanium_mobile_windows/pull/1320
  2. Joshua Quick 2018-11-16

    [~kiguchi], we must also remove the Ti.UI.KEYBOARD_APPEARANCE_ALERT constant too, if defined. This constant is only supported on iOS, but it happened to be defined on Android anyways.
  3. Kota Iguchi 2018-11-16

    [~jquick] Nice, removed (y)
  4. Samir Mohammed 2018-11-19

    FR Passed, Awaiting CR.
  5. Samir Mohammed 2018-12-04

    *Closing ticket.* Fix verified in SDK version 8.0.0.v20181203170303 Test and other information can be found at: https://github.com/appcelerator/titanium_mobile_windows/pull/1320

JSON Source