[TIMOB-25003] iOS: Deprecate Ti.UI.iOS.Toolbar, create parity with Android, change Alloy to handle both
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-08-21T14:52:34.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.2.0 |
Components | Android, iOS |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2017-07-21T04:28:15.000+0000 |
Updated | 2017-08-30T17:36:20.000+0000 |
Description
As one of the engineering week decisions, we will move the iOS-only Ti.UI.iOS.Toolbar
core-component to the unified Ti.UI.Toolbar
namespace. We will combine it with the new Toolbar exposed by Android (TIMOB-17964). In addition, this ticket should also hold the PR for Alloy to remove the platform-specific handling of the <Toolbar>
tag.
Attachments
Might we also be able to combine the Ti.UI.Windows.CommandBar component into this too?
We should! Quick question for [~gmathews] and [~ybanev]: Is the Android Toolbar PR merged already, having the toolbar on the Ti.UI.Toolbar namespace? If so, we can go ahead and move iOS and Windows to it as well. Great parity achievement! :-)
No, it is not merged yet. In what order should we do them - Alloy change first, platforms later or vice-versa ?
[~hknoechel] Don't forget we need to still be backwards-compatible in a minor.
Agree! iOS would simply link to the new API. The Alloy-part would be copied over, so we can keep it for a few releases without issues.
PR for Alloy: https://github.com/appcelerator/alloy/pull/841 It works fine on Android. It shouldn't break compatibility on iOS as well, but I can't test that.
PR (master): https://github.com/appcelerator/titanium_mobile/pull/9292 PR (6_2_X): https://github.com/appcelerator/titanium_mobile/pull/9293 Test-Case 1/3:
Test-Case 2/3:
Test-Case 3/3:
Changes are seen in SDKs: 6.2.0.v20170828180251 7.0.0.v20170829103419