[TIMOB-26562] Windows: Remove deprecated Ti.UI.KEYBOARD_* constants in favor of TI.UI.KEYBOARD_TYPE_*
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2018-11-30T15:53:52.000+0000 |
| Affected Version/s | Release 7.5.0 |
| Fix Version/s | Release 8.0.0 |
| Components | Windows |
| Labels | TextArea, TextField, breaking-change, keyboard |
| Reporter | Joshua Quick |
| Assignee | Kota Iguchi |
| Created | 2018-11-15T00:41:47.000+0000 |
| Updated | 2018-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
https://github.com/appcelerator/titanium_mobile_windows/pull/1320
[~kiguchi], we must also remove the
Ti.UI.KEYBOARD_APPEARANCE_ALERTconstant too, if defined. This constant is only supported on iOS, but it happened to be defined on Android anyways.[~jquick] Nice, removed (y)
FR Passed, Awaiting CR.
*Closing ticket.* Fix verified in SDK version
8.0.0.v20181203170303Test and other information can be found at: https://github.com/appcelerator/titanium_mobile_windows/pull/1320