{"action":"closed","issue":{"url":"https://api.github.com/repos/driftyco/ionic-cloud/issues/12","repository_url":"https://api.github.com/repos/driftyco/ionic-cloud","labels_url":"https://api.github.com/repos/driftyco/ionic-cloud/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-cloud/issues/12/comments","events_url":"https://api.github.com/repos/driftyco/ionic-cloud/issues/12/events","html_url":"https://github.com/driftyco/ionic-cloud/issues/12","id":162952221,"number":12,"title":"Not detecting Cordova using Ionic Deploy","user":{"login":"jgw96","id":8823093,"avatar_url":"https://avatars.githubusercontent.com/u/8823093?v=3","gravatar_id":"","url":"https://api.github.com/users/jgw96","html_url":"https://github.com/jgw96","followers_url":"https://api.github.com/users/jgw96/followers","following_url":"https://api.github.com/users/jgw96/following{/other_user}","gists_url":"https://api.github.com/users/jgw96/gists{/gist_id}","starred_url":"https://api.github.com/users/jgw96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgw96/subscriptions","organizations_url":"https://api.github.com/users/jgw96/orgs","repos_url":"https://api.github.com/users/jgw96/repos","events_url":"https://api.github.com/users/jgw96/events{/privacy}","received_events_url":"https://api.github.com/users/jgw96/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-29T15:15:12Z","updated_at":"2016-06-29T15:19:21Z","closed_at":"2016-06-29T15:19:21Z","body":"_From @Manduro on June 28, 2016 23:19_\n\nIonic Deploy requires `cordova.js` to be removed from `index.html`, as it gets added with the right path on start. This has always worked fine until recently.\r\n\r\nNow, Ionic does not detect the app as being run in cordova anymore. Instead it is tagged as the `mobileweb` platform. This causes calls to cordova plugins to often fail, as the `platform.ready()` is launched on `domready` instead of `deviceready`.\r\n\r\nWhen I re-add `cordova.js` to `index.html`, all is fine again.\r\n\r\nIt seems to be happening since `ionic-angular@2.0.0-beta.10`. It could also be an issue with https://github.com/driftyco/ionic-cloud\r\n\r\n**Ionic Version**: 2.x\r\n\r\n**Platform**: iOS (Android untested)\r\n\r\n**Run `ionic info` from terminal/cmd prompt:**\r\n```\r\nCordova CLI: 6.2.0\r\nGulp version:  CLI version 3.9.1\r\nGulp local:   Local version 3.9.1\r\nIonic Framework Version: 2.0.0-beta.10\r\nIonic CLI Version: 2.0.0-beta.32\r\nIonic App Lib Version: 2.0.0-beta.18\r\nios-deploy version: 1.8.6 \r\nios-sim version: 5.0.8 \r\nOS: Mac OS X El Capitan\r\nNode Version: v0.12.7\r\nXcode version: Xcode 7.3 Build version 7D175 \r\n```\n\n_Copied from original issue: driftyco/ionic#7108_"}}
{"actor":{"display_login":"jgw96"}}