[ALOY-816] Add deprecation for Ti.UI.iPhone.NavigationGroup, minimum version validation for Ti.UI.iOS.NavigationWindow
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-09-04T15:31:37.000+0000 |
| Affected Version/s | Alloy 1.2.2 |
| Fix Version/s | Alloy 1.3.0, 2013 Sprint 18 |
| Components | XML |
| Labels | n/a |
| Reporter | Tony Lukasavage |
| Assignee | Tony Lukasavage |
| Created | 2013-09-04T02:41:01.000+0000 |
| Updated | 2013-10-14T22:25:09.000+0000 |
Shouldn't the Ti.UI.iOS.NavigationGroup in 2. be Ti.UI.iOS.NavigationWindow?
[~timanrebel] yep, fixed.
PR: https://github.com/appcelerator/alloy/pull/238 test apps:
https://github.com/appcelerator/alloy/tree/master/test/apps/ui/navgroup
https://github.com/appcelerator/alloy/tree/master/test/apps/ui/navwindow
Functional tests (ios only):ui/navgroup with TiSDK < 3.1.3
Run the ui/navgroup with a TiSDK version < 3.1.3
Ensure that you get no warnings during compile and that it runs successfully
ui/navwindow with TiSDK < 3.1.3
Run the ui/navwindow with a TiSDK version < 3.1.3
Ensure that you get a compile time error that looks like this:
ui/navgroup with TiSDK >= 3.1.3
Switch ui/navgroup to use Titanium SDK version >= 3.1.3 and run the app
You should see a warning message like this:
The app should still run as expected even with the warning message during compile
ui/navwindow with TiSDK >= 3.1.3
Switch to ui/navwindow with Titanium SDK version >= 3.1.3 and run the app
The app should run without error, executing with the new NavigationWindow
Verified working as expected. TiSDK 3.2.0.v20131013140318 Alloy 1.3.0 CLI 3.2.0 Closing.