[TIMOB-24289] Remove unused / invalid demo-projects from titanium_mobile/demos
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-01-10T14:50:17.000+0000 |
Affected Version/s | Release 6.1.0 |
Fix Version/s | Release 6.1.0 |
Components | iOS |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2017-01-10T13:50:20.000+0000 |
Updated | 2017-02-06T21:59:51.000+0000 |
Description
We still have the old KitchenSink project in titanium_mobile/demos that use Ti.Include'd to manage the app context. The only way those projects are used (and only KitchenSink, not the others), is to validate test-cases in Xcode. That's why I'd like to clean them up and only place our usual test-case trigger-code in there:
var win = Ti.UI.createWindow({
backgroundColor: '#fff'
});
var btn = Ti.UI.createButton({
title: 'Trigger'
});
btn.addEventListener('click', function() {
Ti.API.info('Hello world!');
});
win.add(btn);
win.open();
It is no breaking change and does influence the packaged SDK, so I've chosen the issue type "Story" for now.
PR: https://github.com/appcelerator/titanium_mobile/pull/8737
[~hansknoechel] is there any way to validate this without submitting to the store?
[~lmorris] Yes: 1. Go to
titanium_mobile/iphone/Resources/
and change something in the app.js 2. Run the native Xcode project intitanium_mobile/iphone/Resources/Titanium.xcodeproj
Expected behavior: The app.js from (1) is used and the applied changes are visible in the app[~emerriman] and myself looked at this ticket together and are now closing it.