[TIMOB-26560] Android: 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-12-06T18:12:13.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 8.0.0 |
Components | Android |
Labels | TextArea, TextField, android, breaking-change, keyboard |
Reporter | Joshua Quick |
Assignee | Joshua Quick |
Created | 2018-11-14T22:12:34.000+0000 |
Updated | 2018-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.
FR passed. waiting for CR and merge.
PR was FR'd prior to merge.