diff --git a/lib/tiappxml.js b/lib/tiappxml.js
index 1784a9e0..8f7f0c40 100644
--- a/lib/tiappxml.js
+++ b/lib/tiappxml.js
@@ -257,98 +257,6 @@ function toXml(dom, parent, name, value) {
}
break;
- case 'mobileweb':
- Object.keys(value).forEach(function (prop) {
- switch (prop) {
- case 'build':
- dom.create('build', null, node, function (build) {
- Object.keys(value.build).forEach(function (name) {
- dom.create(name, null, build, function (deployment) {
- Object.keys(value.build[name]).forEach(function (d) {
- var val = value.build[name][d];
- switch (d) {
- case 'js':
- case 'css':
- case 'html':
- dom.create(d, null, deployment, function (type) {
- Object.keys(val).forEach(function (v) {
- dom.create(v, { nodeValue: val[v] }, type);
- });
- });
- break;
-
- default:
- dom.create(d, { nodeValue: val }, deployment);
- }
- });
- });
- });
- });
- break;
-
- case 'analytics':
- case 'filesystem':
- case 'map':
- case 'splash':
- case 'unsupported-platforms':
- dom.create(prop, null, node, function (section) {
- Object.keys(value[prop]).forEach(function (key) {
- dom.create(key, { nodeValue: value[prop][key] }, section);
- });
- });
- break;
-
- case 'precache':
- dom.create('precache', null, node, function (precache) {
- Object.keys(value[prop]).forEach(function (type) {
- value[prop][type].forEach(function (n) {
- dom.create(type, { nodeValue: n }, precache);
- });
- });
- });
- break;
-
- default:
- dom.create(prop, { nodeValue: value[prop] }, node);
- }
- });
- break;
-
- case 'tizen':
- node.setAttribute('xmlns:tizen', 'http://ti.appcelerator.org');
- // use default and generated values if appid and configXml are empty
- value.appid && node.setAttribute('appid', value.appid);
- // creating nodes from tizen specific entries
- var tizenSection = new DOMParser(defaultDOMParserArgs).parseFromString('\n ' + value.configXml + ' ', 'text/xml').documentElement,
- child = tizenSection.firstChild,
- nextSibl;
- while (child) {
- // store next sibling before calling nextSibling().
- // Becaus after appendChild() nextSibling() will return node from other tree
- nextSibl = child.nextSibling;
- node.appendChild(child);
- child = nextSibl;
- }
- break;
-
- case 'windows':
- Object.keys(value).forEach(function (prop) {
- switch (prop) {
- default:
- dom.create(prop, { nodeValue: value[prop] }, node);
- }
- });
- break;
-
- case 'windows-phone':
- Object.keys(value).forEach(function (prop) {
- switch (prop) {
- default:
- dom.create(prop, { nodeValue: value[prop] }, node);
- }
- });
- break;
-
case 'webpack':
if (value.type) {
dom.create('type', { nodeValue: value.type }, node);
@@ -545,27 +453,6 @@ function toJS(obj, doc) {
});
break;
- case 'blackberry':
- var blackberry = obj.blackberry = {};
- obj.blackberry.other = '';
- xml.forEachElement(node, function (elem) {
- switch (elem.tagName) {
- case 'permissions':
- const permissions = blackberry.permissions = {};
- xml.forEachElement(elem, (e) => permissions[xml.getValue(e)] = true);
- break;
-
- case 'build-id':
- case 'orientation':
- blackberry[elem.tagName] = xml.getValue(elem);
- break;
-
- default:
- obj.blackberry.other += elem.toString() + '\n';
- }
- });
- break;
-
case 'iphone':
var iphone = obj.iphone = {},
dev;
@@ -703,89 +590,6 @@ function toJS(obj, doc) {
});
break;
- case 'mobileweb':
- var mobileweb = obj.mobileweb = {};
- xml.forEachElement(node, function (elem) {
- switch (elem.tagName) {
- case 'build':
- var build = mobileweb.build = {};
- xml.forEachElement(elem, function (elem) {
- var profile = build[elem.tagName] = {};
- xml.forEachElement(elem, function (elem) {
- switch (elem.tagName) {
- case 'js':
- case 'css':
- case 'html':
- var filetype = profile[elem.tagName] = {};
- xml.forEachElement(elem, function (elem) {
- filetype[elem.tagName] = xml.getValue(elem);
- });
- break;
-
- default:
- profile[elem.tagName] = xml.getValue(elem);
- }
- });
- });
- break;
-
- case 'analytics':
- case 'filesystem':
- case 'map':
- case 'splash':
- case 'unsupported-platforms':
- mobileweb[elem.tagName] = {};
- xml.forEachElement(elem, function (subelem) {
- mobileweb[elem.tagName][subelem.tagName] = xml.getValue(subelem);
- });
- break;
-
- case 'precache':
- var precache = mobileweb.precache = {};
- xml.forEachElement(elem, function (elem) {
- precache[elem.tagName] || (precache[elem.tagName] = []);
- precache[elem.tagName].push(xml.getValue(elem));
- });
- break;
-
- default:
- mobileweb[elem.tagName] = xml.getValue(elem);
- }
- });
- break;
-
- case 'tizen':
- var tizen = obj.tizen = {
- appid: undefined,
- configXml: undefined
- };
-
- tizen.appid = xml.getAttr(node, 'appid');
- xml.forEachElement(node, function (elem) {
- tizen.configXml ? tizen.configXml = tizen.configXml + '\n' + elem.toString() : tizen.configXml = elem.toString();
- });
- break;
-
- case 'windows':
- var windows = obj.windows = {};
- xml.forEachElement(node, function (elem) {
- windows[elem.tagName] = xml.getValue(elem);
- });
- break;
-
- case 'windows-phone':
- var wp = obj['windows-phone'] = {};
- xml.forEachElement(node, function (elem) {
- switch (elem.tagName) {
- case 'target-sdk':
- wp[elem.tagName] = elem.firstChild && elem.firstChild.data.replace(/\n/g, '').trim() || '';
- break;
- default:
- wp[elem.tagName] = xml.getValue(elem);
- }
- });
- break;
-
case 'modules':
var modules = obj.modules = [];
xml.forEachElement(node, function (elem) {
@@ -876,7 +680,7 @@ function tiapp(filename) {
Object.defineProperty(this, 'toString', {
value: function (fmt) {
if (fmt === 'xml') {
- var dom = new DOMParser(defaultDOMParserArgs).parseFromString('', 'text/xml');
+ var dom = new DOMParser(defaultDOMParserArgs).parseFromString('', 'text/xml');
dom.create = function (tag, attrs, parent, callback) {
var node = dom.createElement(tag),
diff --git a/lib/titanium.js b/lib/titanium.js
index ff41b01f..95179a58 100644
--- a/lib/titanium.js
+++ b/lib/titanium.js
@@ -38,7 +38,7 @@ exports.availablePlatformsNames = (function (platforms) {
});
return platforms.sort();
}(manifest.platforms || []));
-exports.allPlatformNames = [ 'android', 'ios', 'iphone', 'ipad', 'mobileweb', 'blackberry', 'windows', 'tizen' ];
+exports.allPlatformNames = [ 'android', 'ios', 'iphone', 'ipad' ];
exports.commonOptions = function (logger, config) {
return {
@@ -489,10 +489,6 @@ exports.validateCorrectSDK = function (logger, config, cli, commandName) {
}
break;
- case 'mobileweb':
- cmdAdd(argv['project-dir'], argv['deploy-type']);
- break;
-
case 'android':
if (argv['build-only']) {
cmdAdd('build', tiapp.name, argv['android-sdk'], argv['project-dir'], tiapp.id);
diff --git a/tests/resources/tiapp1.xml b/tests/resources/tiapp1.xml
index 0ce903d2..c82bcc59 100644
--- a/tests/resources/tiapp1.xml
+++ b/tests/resources/tiapp1.xml
@@ -1,5 +1,5 @@
-
+
ti.testapp
testapp
1.0
diff --git a/tests/resources/tiapp2.xml b/tests/resources/tiapp2.xml
index 53443d01..7f7c874b 100644
--- a/tests/resources/tiapp2.xml
+++ b/tests/resources/tiapp2.xml
@@ -1,11 +1,9 @@
-
+
- true
true
true
true
- false
2.2.0
ti.testapp
@@ -199,36 +197,6 @@
-
- auto
- 1
-
- access_shared
- record_audio
- use_camera
- access_internet
- play_audio
- post_notification
- set_audio_volume
- read_device_identifying_information
-
- run_native
- _sys_use_consumer_push
-
- APPLICATION
-
- bb.action.PUSH
- application/vnd.push
-
-
-
- APPLICATION
-
- bb.action.OPEN
- text/plain
-
-
-
@@ -259,79 +227,6 @@
-
-
-
- clean
-
- true
- false
- false
- false
- false
- warn
- warn
-
-
- true
- false
- false
- false
- false
- true
-
-
- true
- false
- false
- false
- true
- true
- false
-
- true
- true
-
-
-
- false
-
-
- true
-
- Ti/_/Filesystem/Local
- preload
-
- true
- true
- app.js
-
-
- /assets/myImage.png
- /assets/myImage2.png
- /myapp/mylib.js
- /myapp/mylib2.js
- en
- es
- fr
- de
- myapp/mymodule
- myapp/mymodule2
-
-
- true
- true
- 1000
-
- default
-
- true
- true
-
-
alloy
diff --git a/tests/resources/tiapp3.xml b/tests/resources/tiapp3.xml
index 47750f4c..109e00a5 100644
--- a/tests/resources/tiapp3.xml
+++ b/tests/resources/tiapp3.xml
@@ -1,5 +1,5 @@
-
+
diff --git a/tests/resources/tiapp4.xml b/tests/resources/tiapp4.xml
index dcfbb882..c175d448 100644
--- a/tests/resources/tiapp4.xml
+++ b/tests/resources/tiapp4.xml
@@ -1,5 +1,5 @@
-
+
ti.testapp
testapp
1.0
diff --git a/tests/results/tiapp2.json b/tests/results/tiapp2.json
index 4670f011..668a74d9 100644
--- a/tests/results/tiapp2.json
+++ b/tests/results/tiapp2.json
@@ -1 +1 @@
-{"deployment-targets":{"mobileweb":true,"iphone":true,"ipad":true,"android":true,"blackberry":false},"sdk-version":"2.2.0","id":"ti.testapp","name":"testapp","version":"1.0","publisher":"tester","url":"http://","description":"not specified","copyright":"2012 by tester","icon":"appicon.png","persistent-wifi":false,"prerendered-icon":false,"statusbar-style":"default","statusbar-hidden":false,"fullscreen":false,"navbar-hidden":false,"analytics":false,"guid":"088dc83c-64af-4a81-b57c-7407649453f0","properties":{"ti.ui.defaultunit":{"type":"string","value":"system"},"ti.deploytype":{"type":"string","value":"production"},"ti.android.debug":{"type":"bool","value":true},"ti.android.loadfromsdcard":{"type":"bool","value":false},"ti.android.compilejs":{"type":"bool","value":false},"ti.android.include_all_modules":{"type":"bool","value":false},"another property":{"type":"string","value":"this \"one\" with quotes"},"ti.bb.invoke.target.key.push":{"type":"string","value":"ti.testapp.invoke.push"},"ti.bb.invoke.target.key.open":{"type":"string","value":"ti.testapp.invoke.open"},"push_title":{"type":"string","value":"Some Title for BB Push, typically the app name\""},"run-on-main-thread":{"type":"bool","value":true}},"code-processor":{"enabled":true,"plugins":["ti-api-usage-finder"],"options":{"some-option":"xyz"}},"ios":{"enable-launch-screen-storyboard":true,"use-app-thinning":true,"enablecoverage":true,"enablemdfind":true,"default-background-color":"#FFFFFF","min-ios-ver":5,"team-id":"foo","log-server-port":10571,"capabilities":{"app-groups":["group.com.appc.foo","group.com.appc.bar"]},"entitlements":{"application-identifier":"XXXXXXXXXX.com.test.app","aps-environment":"production","beta-reports-active":true,"get-task-allow":false,"keychain-access-groups":["XXXXXXXXXX.com.test.app"]},"plist":{"UISupportedInterfaceOrientations":["UIInterfaceOrientationPortrait","UIInterfaceOrientationPortraitUpsideDown","UIInterfaceOrientationLandscapeLeft","UIInterfaceOrientationLandscapeRight"],"UIBackgroundModes":["audio","location","voip","newsstand-content","external-accessory","bluetooth-central"],"UIRequiredDeviceCapabilities":["telephony","wifi","sms","still-camera","auto-focus-camera","front-facing-camera","camera-flash","video-camera","accelerometer","gyroscope","location-services","gps","magnetometer","gamekit","microphone","opengles-1","opengles-2","armv6","armv7","peer-peer","bluetooth-le"],"UIRequiresPersistentWiFi":true,"UIPrerenderedIcon":true,"UIStatusBarHidden":true,"UIStatusBarStyle":"UIStatusBarStyleBlackTranslucent","UIAppFonts":["/fonts/MyFont_1.otf","/fonts/MyFont_2.otf"]},"extensions":[{"projectPath":"/path/to/extention","targets":[{"name":"Some Target","ppUUIDs":{}}]},{"projectPath":"/path/to/extention2","targets":[{"name":"Another Target","ppUUIDs":{"device":"abc","dist-appstore":123,"dist-adhoc":""}}]},{"projectPath":"/path/to/another/extention","targets":[{"name":"Test WatchKit Extension","ppUUIDs":{}}]}]},"iphone":{"orientations":{"iphone":["Ti.UI.PORTRAIT"],"ipad":["Ti.UI.PORTRAIT","Ti.UI.UPSIDE_PORTRAIT","Ti.UI.LANDSCAPE_LEFT","Ti.UI.LANDSCAPE_RIGHT"]},"backgroundModes":["audio","location","voip"],"requiredFeatures":["telephony","wifi","sms","still-camera","auto-focus-camera","front-facing-camera","camera-flash","video-camera","accelerometer","gyroscope","location-services","gps","magnetometer","gamekit","microphone","opengles-1","opengles-2","armv6","armv7","peer-peer"],"types":[{"name":"something","icon":"someicon.png","uti":["public.item","public.content"],"owner":true}]},"blackberry":{"other":"run_native\n_sys_use_consumer_push\n\n\t\t APPLICATION\n\t\t \n\t\t\t bb.action.PUSH\n\t\t\t application/vnd.push\n\t\t \n\t\t\n\n\t\t APPLICATION\n\t\t \n\t\t\t bb.action.OPEN\n\t\t\t text/plain\n\t\t \n\t\t\n","orientation":"auto","build-id":1,"permissions":{"access_shared":true,"record_audio":true,"use_camera":true,"access_internet":true,"play_audio":true,"post_notification":true,"set_audio_volume":true,"read_device_identifying_information":true}},"android":{"manifest":"\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t","tool-api-level":10,"abi":["armeabi","armeabi-v7a","x86"],"services":{"testservice.js":{"type":"interval","url":"testservice.js","classname":"TestserviceService"}}},"mobileweb":{"build":{"production":{"action":"clean","js":{"minify":true,"keep-line-breaks":false,"keep-comments":false,"keep-uncompressed":false,"log-inject-filename-lineno":false,"ti-log-level":"warn","console-log-level":"warn"},"css":{"minify":true,"keep-line-breaks":false,"keep-comments":false,"keep-uncompressed":false,"inline-images":false,"inline-imports":true},"html":{"minify":true,"keep-line-breaks":false,"keep-comments":false,"keep-uncompressed":false,"inline-js":true,"inline-css":true,"strip-attribute-quotes":false},"precache-modules":true,"precache-includes":true}},"analytics":{"use-xhr":false},"base-url":"","disable-error-screen":true,"filesystem":{"backend":"Ti/_/Filesystem/Local","registry":"preload"},"force-absolute-paths":true,"instrumentation":true,"main":"app.js","map":{"apikey":"API_KEY_GOES_HERE","backend":"Ti/_/Map/Google"},"precache":{"image":["/assets/myImage.png","/assets/myImage2.png"],"include":["/myapp/mylib.js","/myapp/mylib2.js"],"locale":["en","es","fr","de"],"require":["myapp/mymodule","myapp/mymodule2"]},"splash":{"enabled":true,"inline-css-images":true,"duration":1000},"theme":"default","unsupported-platforms":{"display-warning":true,"allow-loading":true}},"webpack":{"type":"alloy","transpileDependencies":["some_module"]},"modules":[{"id":"ti.alltest","platform":"","version":"1.2.3"},{"id":"ti.cjstest","platform":"commonjs","version":"1.2.3"},{"id":"ti.mwtest","platform":"mobileweb","version":"4.5.6"},{"id":"ti.androidtest","platform":"android","version":"7.8"},{"id":"ti.iphonetest","platform":"iphone","version":"9.0"}],"plugins":[{"id":"ti_sample_plugin","version":"1.0"}]}
+{"deployment-targets":{"iphone":true,"ipad":true,"android":true},"sdk-version":"2.2.0","id":"ti.testapp","name":"testapp","version":"1.0","publisher":"tester","url":"http://","description":"not specified","copyright":"2012 by tester","icon":"appicon.png","persistent-wifi":false,"prerendered-icon":false,"statusbar-style":"default","statusbar-hidden":false,"fullscreen":false,"navbar-hidden":false,"analytics":false,"guid":"088dc83c-64af-4a81-b57c-7407649453f0","properties":{"ti.ui.defaultunit":{"type":"string","value":"system"},"ti.deploytype":{"type":"string","value":"production"},"ti.android.debug":{"type":"bool","value":true},"ti.android.loadfromsdcard":{"type":"bool","value":false},"ti.android.compilejs":{"type":"bool","value":false},"ti.android.include_all_modules":{"type":"bool","value":false},"another property":{"type":"string","value":"this \"one\" with quotes"},"ti.bb.invoke.target.key.push":{"type":"string","value":"ti.testapp.invoke.push"},"ti.bb.invoke.target.key.open":{"type":"string","value":"ti.testapp.invoke.open"},"push_title":{"type":"string","value":"Some Title for BB Push, typically the app name\""},"run-on-main-thread":{"type":"bool","value":true}},"code-processor":{"enabled":true,"plugins":["ti-api-usage-finder"],"options":{"some-option":"xyz"}},"ios":{"enable-launch-screen-storyboard":true,"use-app-thinning":true,"enablecoverage":true,"enablemdfind":true,"default-background-color":"#FFFFFF","min-ios-ver":5,"team-id":"foo","log-server-port":10571,"capabilities":{"app-groups":["group.com.appc.foo","group.com.appc.bar"]},"entitlements":{"application-identifier":"XXXXXXXXXX.com.test.app","aps-environment":"production","beta-reports-active":true,"get-task-allow":false,"keychain-access-groups":["XXXXXXXXXX.com.test.app"]},"plist":{"UISupportedInterfaceOrientations":["UIInterfaceOrientationPortrait","UIInterfaceOrientationPortraitUpsideDown","UIInterfaceOrientationLandscapeLeft","UIInterfaceOrientationLandscapeRight"],"UIBackgroundModes":["audio","location","voip","newsstand-content","external-accessory","bluetooth-central"],"UIRequiredDeviceCapabilities":["telephony","wifi","sms","still-camera","auto-focus-camera","front-facing-camera","camera-flash","video-camera","accelerometer","gyroscope","location-services","gps","magnetometer","gamekit","microphone","opengles-1","opengles-2","armv6","armv7","peer-peer","bluetooth-le"],"UIRequiresPersistentWiFi":true,"UIPrerenderedIcon":true,"UIStatusBarHidden":true,"UIStatusBarStyle":"UIStatusBarStyleBlackTranslucent","UIAppFonts":["/fonts/MyFont_1.otf","/fonts/MyFont_2.otf"]},"extensions":[{"projectPath":"/path/to/extention","targets":[{"name":"Some Target","ppUUIDs":{}}]},{"projectPath":"/path/to/extention2","targets":[{"name":"Another Target","ppUUIDs":{"device":"abc","dist-appstore":123,"dist-adhoc":""}}]},{"projectPath":"/path/to/another/extention","targets":[{"name":"Test WatchKit Extension","ppUUIDs":{}}]}]},"iphone":{"orientations":{"iphone":["Ti.UI.PORTRAIT"],"ipad":["Ti.UI.PORTRAIT","Ti.UI.UPSIDE_PORTRAIT","Ti.UI.LANDSCAPE_LEFT","Ti.UI.LANDSCAPE_RIGHT"]},"backgroundModes":["audio","location","voip"],"requiredFeatures":["telephony","wifi","sms","still-camera","auto-focus-camera","front-facing-camera","camera-flash","video-camera","accelerometer","gyroscope","location-services","gps","magnetometer","gamekit","microphone","opengles-1","opengles-2","armv6","armv7","peer-peer"],"types":[{"name":"something","icon":"someicon.png","uti":["public.item","public.content"],"owner":true}]},"android":{"manifest":"\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t","tool-api-level":10,"abi":["armeabi","armeabi-v7a","x86"],"services":{"testservice.js":{"type":"interval","url":"testservice.js","classname":"TestserviceService"}}},"webpack":{"type":"alloy","transpileDependencies":["some_module"]},"modules":[{"id":"ti.alltest","platform":"","version":"1.2.3"},{"id":"ti.cjstest","platform":"commonjs","version":"1.2.3"},{"id":"ti.mwtest","platform":"mobileweb","version":"4.5.6"},{"id":"ti.androidtest","platform":"android","version":"7.8"},{"id":"ti.iphonetest","platform":"iphone","version":"9.0"}],"plugins":[{"id":"ti_sample_plugin","version":"1.0"}]}
diff --git a/tests/results/tiapp2.pretty.json b/tests/results/tiapp2.pretty.json
index 2de4dab1..bc10af5b 100644
--- a/tests/results/tiapp2.pretty.json
+++ b/tests/results/tiapp2.pretty.json
@@ -1,10 +1,8 @@
{
"deployment-targets": {
- "mobileweb": true,
"iphone": true,
"ipad": true,
- "android": true,
- "blackberry": false
+ "android": true
},
"sdk-version": "2.2.0",
"id": "ti.testapp",
@@ -234,21 +232,6 @@
}
]
},
- "blackberry": {
- "other": "run_native\n_sys_use_consumer_push\n\n\t\t APPLICATION\n\t\t \n\t\t\t bb.action.PUSH\n\t\t\t application/vnd.push\n\t\t \n\t\t\n\n\t\t APPLICATION\n\t\t \n\t\t\t bb.action.OPEN\n\t\t\t text/plain\n\t\t \n\t\t\n",
- "orientation": "auto",
- "build-id": 1,
- "permissions": {
- "access_shared": true,
- "record_audio": true,
- "use_camera": true,
- "access_internet": true,
- "play_audio": true,
- "post_notification": true,
- "set_audio_volume": true,
- "read_device_identifying_information": true
- }
- },
"android": {
"manifest": "\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t",
"tool-api-level": 10,
@@ -265,87 +248,6 @@
}
}
},
- "mobileweb": {
- "build": {
- "production": {
- "action": "clean",
- "js": {
- "minify": true,
- "keep-line-breaks": false,
- "keep-comments": false,
- "keep-uncompressed": false,
- "log-inject-filename-lineno": false,
- "ti-log-level": "warn",
- "console-log-level": "warn"
- },
- "css": {
- "minify": true,
- "keep-line-breaks": false,
- "keep-comments": false,
- "keep-uncompressed": false,
- "inline-images": false,
- "inline-imports": true
- },
- "html": {
- "minify": true,
- "keep-line-breaks": false,
- "keep-comments": false,
- "keep-uncompressed": false,
- "inline-js": true,
- "inline-css": true,
- "strip-attribute-quotes": false
- },
- "precache-modules": true,
- "precache-includes": true
- }
- },
- "analytics": {
- "use-xhr": false
- },
- "base-url": "",
- "disable-error-screen": true,
- "filesystem": {
- "backend": "Ti/_/Filesystem/Local",
- "registry": "preload"
- },
- "force-absolute-paths": true,
- "instrumentation": true,
- "main": "app.js",
- "map": {
- "apikey": "API_KEY_GOES_HERE",
- "backend": "Ti/_/Map/Google"
- },
- "precache": {
- "image": [
- "/assets/myImage.png",
- "/assets/myImage2.png"
- ],
- "include": [
- "/myapp/mylib.js",
- "/myapp/mylib2.js"
- ],
- "locale": [
- "en",
- "es",
- "fr",
- "de"
- ],
- "require": [
- "myapp/mymodule",
- "myapp/mymodule2"
- ]
- },
- "splash": {
- "enabled": true,
- "inline-css-images": true,
- "duration": 1000
- },
- "theme": "default",
- "unsupported-platforms": {
- "display-warning": true,
- "allow-loading": true
- }
- },
"webpack": {
"type": "alloy",
"transpileDependencies": [
diff --git a/tests/results/tiapp2.xml b/tests/results/tiapp2.xml
index c5a2ebaa..50145e90 100644
--- a/tests/results/tiapp2.xml
+++ b/tests/results/tiapp2.xml
@@ -1,11 +1,9 @@
-
+
- true
true
true
true
- false
2.2.0
ti.testapp
@@ -198,7 +196,6 @@
- [object Object]
@@ -224,79 +221,6 @@
-
-
-
- clean
-
- true
- false
- false
- false
- false
- warn
- warn
-
-
- true
- false
- false
- false
- false
- true
-
-
- true
- false
- false
- false
- true
- true
- false
-
- true
- true
-
-
-
- false
-
-
- true
-
- Ti/_/Filesystem/Local
- preload
-
- true
- true
- app.js
-
-
- /assets/myImage.png
- /assets/myImage2.png
- /myapp/mylib.js
- /myapp/mylib2.js
- en
- es
- fr
- de
- myapp/mymodule
- myapp/mymodule2
-
-
- true
- true
- 1000
-
- default
-
- true
- true
-
-
alloy
diff --git a/tests/tiappxml_test.js b/tests/tiappxml_test.js
index 83dd6aaf..9c5eba31 100644
--- a/tests/tiappxml_test.js
+++ b/tests/tiappxml_test.js
@@ -95,7 +95,6 @@ describe('tiappxml', function () {
it('tiapp4.xml', function () {
var tiapp = new ti.tiappxml(path.join(__dirname, '/resources/tiapp4.xml'));
tiapp.id.should.eql('ti.testapp');
- tiapp.windows.id.should.eql('com.windows.example');
});
it('should throw if file does not exist', function () {