Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24289] Remove unused / invalid demo-projects from titanium_mobile/demos

GitHub Issuen/a
TypeStory
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2017-01-10T14:50:17.000+0000
Affected Version/sRelease 6.1.0
Fix Version/sRelease 6.1.0
ComponentsiOS
Labelsn/a
ReporterHans Knöchel
AssigneeHans Knöchel
Created2017-01-10T13:50:20.000+0000
Updated2017-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.

Comments

  1. Hans Knöchel 2017-01-10

    PR: https://github.com/appcelerator/titanium_mobile/pull/8737
  2. Lee Morris 2017-01-20

    [~hansknoechel] is there any way to validate this without submitting to the store?
  3. Hans Knöchel 2017-01-20

    [~lmorris] Yes: 1. Go to titanium_mobile/iphone/Resources/ and change something in the app.js 2. Run the native Xcode project in titanium_mobile/iphone/Resources/Titanium.xcodeproj Expected behavior: The app.js from (1) is used and the applied changes are visible in the app
  4. Lee Morris 2017-02-06

    [~emerriman] and myself looked at this ticket together and are now closing it.

JSON Source