{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/175","labels_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/175/comments","events_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/175/events","html_url":"https://github.com/driftyco/ionic-cli/issues/175","id":54111576,"number":175,"title":"Issue with config.xml in 1.3","user":{"login":"danda1man","id":852995,"avatar_url":"https://avatars.githubusercontent.com/u/852995?v=3","gravatar_id":"","url":"https://api.github.com/users/danda1man","html_url":"https://github.com/danda1man","followers_url":"https://api.github.com/users/danda1man/followers","following_url":"https://api.github.com/users/danda1man/following{/other_user}","gists_url":"https://api.github.com/users/danda1man/gists{/gist_id}","starred_url":"https://api.github.com/users/danda1man/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danda1man/subscriptions","organizations_url":"https://api.github.com/users/danda1man/orgs","repos_url":"https://api.github.com/users/danda1man/repos","events_url":"https://api.github.com/users/danda1man/events{/privacy}","received_events_url":"https://api.github.com/users/danda1man/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic-cli/labels/needs_reply","name":"needs_reply","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-12T21:48:23Z","updated_at":"2015-01-26T16:04:23Z","closed_at":null,"body":"Similar to the issue I faced in #84, I moved my config.xml from my www folder to the root (so xcode would quit complaining and to better match templates I have been seeing).   Get the following error without a stack trace this time:\r\n\r\nC:\\code\\current>ionic run android\r\nError updating C:\\code\\current\\config.xml: TypeError: Cannot read property '0' of undefined (CLI v1.3.0)"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/comments/71484459","html_url":"https://github.com/driftyco/ionic-cli/issues/175#issuecomment-71484459","issue_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/175","id":71484459,"user":{"login":"danda1man","id":852995,"avatar_url":"https://avatars.githubusercontent.com/u/852995?v=3","gravatar_id":"","url":"https://api.github.com/users/danda1man","html_url":"https://github.com/danda1man","followers_url":"https://api.github.com/users/danda1man/followers","following_url":"https://api.github.com/users/danda1man/following{/other_user}","gists_url":"https://api.github.com/users/danda1man/gists{/gist_id}","starred_url":"https://api.github.com/users/danda1man/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danda1man/subscriptions","organizations_url":"https://api.github.com/users/danda1man/orgs","repos_url":"https://api.github.com/users/danda1man/repos","events_url":"https://api.github.com/users/danda1man/events{/privacy}","received_events_url":"https://api.github.com/users/danda1man/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T16:04:23Z","updated_at":"2015-01-26T16:04:23Z","body":"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\r\n<widget xmlns=\"http://www.w3.org/ns/widgets\" id=\"com.referredrewards.mobile\" versionCode=\"7\" version=\"1.0.7\">\r\n  <name>Referred Rewards</name>\r\n  <description>You refer, we reward!  Find deals for local companies and refer your friends to earn rewards.</description>\r\n  <author href=\"https://referredrewards.com\" email=\"support@referredrewards.com\">Referred Inc</author>\r\n  <preference name=\"permissions\" value=\"none\"/>\r\n  <preference name=\"Fullscreen\" value=\"true\"/>\r\n  <preference name=\"Orientation\" value=\"portrait\"/>\r\n  <preference name=\"exit-on-suspend\" value=\"false\"/>\r\n  <preference name=\"StatusBarOverlaysWebView\" value=\"true\"/>\r\n  <preference name=\"StatusBarBackgroundColor\" value=\"#bb1c1c\"/>\r\n  <preference name=\"StatusBarStyle\" value=\"lightcontent\"/>\r\n  <preference name=\"EnableViewportScale\" value=\"true\"/>\r\n  <preference name=\"MediaPlaybackRequiresUserAction\" value=\"false\"/>\r\n  <preference name=\"AllowInlineMediaPlayback\" value=\"true\"/>\r\n  <preference name=\"BackupWebStorage\" value=\"none\"/>\r\n  <preference name=\"TopActivityIndicator\" value=\"white\"/>\r\n  <preference name=\"KeyboardDisplayRequiresUserAction\" value=\"false\"/>\r\n  <preference name=\"SuppressesIncrementalRendering\" value=\"true\"/>\r\n  <preference name=\"GapBetweenPages\" value=\"0\"/>\r\n  <preference name=\"PageLength\" value=\"0\"/>\r\n  <preference name=\"PaginationBreakingMode\" value=\"page\"/>\r\n  <preference name=\"PaginationMode\" value=\"unpaginated\"/>\r\n  <preference name=\"UIWebViewDecelerationSpeed\" value=\"normal\"/>\r\n  <preference name=\"AutoHideSplashScreen\" value=\"false\"/>\r\n  <preference name=\"ShowSplashScreenSpinner\" value=\"false\"/>\r\n  <preference name=\"target-device\" value=\"handset\"/>\r\n  <preference name=\"prerendered-icon\" value=\"false\"/>\r\n  <preference name=\"detect-data-types\" value=\"true\"/>\r\n  <preference name=\"KeepRunning\" value=\"true\"/>\r\n  <preference name=\"LoadUrlTimeoutValue\" value=\"10000\"/>\r\n  <preference name=\"SplashScreen\" value=\"screen\"/>\r\n  <preference name=\"SplashScreenDelay\" value=\"10000\"/>\r\n  <preference name=\"InAppBrowserStorageEnabled\" value=\"true\"/>\r\n  <preference name=\"ErrorUrl\" value=\"\"/>\r\n  <preference name=\"ShowTitle\" value=\"false\"/>\r\n  <preference name=\"LogLevel\" value=\"WARN\"/>\r\n  <preference name=\"AndroidLaunchMode\" value=\"singleTop\"/>\r\n  <preference name=\"android-minSdkVersion\" value=\"14\"/>\r\n  <preference name=\"DisallowOverscroll\" value=\"true\"/>\r\n  <preference name=\"BackgroundColor\" value=\"0xff000000\"/>\r\n  <access origin=\"*\"/>\r\n  <access origin=\"tel:*\" launch-external=\"yes\"/>\r\n  <access origin=\"geo:*\" launch-external=\"yes\"/>\r\n  <access origin=\"mailto:*\" launch-external=\"yes\"/>\r\n  <access origin=\"market:*\" launch-external=\"yes\"/>\r\n  <feature name=\"Keyboard\">\r\n    <param name=\"android-package\" value=\"com.ionic.keyboard.IonicKeyboard\"/>\r\n    <param name=\"onload\" value=\"true\"/>\r\n  </feature>\r\n  <feature name=\"Keyboard\">\r\n    <param name=\"ios-package\" value=\"IonicKeyboard\" onload=\"true\"/>\r\n  </feature>\r\n  <feature name=\"SplashScreen\">\r\n    <param name=\"android-package\" value=\"org.apache.cordova.splashscreen.SplashScreen\"/>\r\n    <param name=\"ios-package\" value=\"CDVSplashScreen\"/>\r\n    <param name=\"onload\" value=\"true\"/>\r\n  </feature>\r\n  <feature name=\"StatusBar\">\r\n    <param name=\"ios-package\" value=\"CDVStatusBar\" onload=\"true\"/>\r\n  </feature>\r\n  <platform name=\"android\">\r\n    <splash src=\"resources\\android\\splash\\drawable-port-ldpi-screen.png\" density=\"port-ldpi\"/>\r\n    <splash src=\"resources\\android\\splash\\drawable-port-mdpi-screen.png\" density=\"port-mdpi\"/>\r\n    <splash src=\"resources\\android\\splash\\drawable-port-hdpi-screen.png\" density=\"port-hdpi\"/>\r\n    <splash src=\"resources\\android\\splash\\drawable-port-xhdpi-screen.png\" density=\"port-xhdpi\"/>\r\n    <splash src=\"resources\\android\\splash\\drawable-port-xxhdpi-screen.png\" density=\"port-xxhdpi\"/>\r\n    <splash src=\"resources\\android\\splash\\drawable-port-xxxhdpi-screen.png\" density=\"port-xxxhdpi\"/>\r\n  </platform>\r\n</widget>"}}