{"action":"closed","issue":{"url":"https://api.github.com/repos/driftyco/ionic-service-deploy/issues/13","labels_url":"https://api.github.com/repos/driftyco/ionic-service-deploy/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-service-deploy/issues/13/comments","events_url":"https://api.github.com/repos/driftyco/ionic-service-deploy/issues/13/events","html_url":"https://github.com/driftyco/ionic-service-deploy/issues/13","id":86173656,"number":13,"title":"Include standalone version of ionic.Platform to avoid loading all of ionic code first","user":{"login":"jskrzypek","id":1513265,"avatar_url":"https://avatars.githubusercontent.com/u/1513265?v=3","gravatar_id":"","url":"https://api.github.com/users/jskrzypek","html_url":"https://github.com/jskrzypek","followers_url":"https://api.github.com/users/jskrzypek/followers","following_url":"https://api.github.com/users/jskrzypek/following{/other_user}","gists_url":"https://api.github.com/users/jskrzypek/gists{/gist_id}","starred_url":"https://api.github.com/users/jskrzypek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jskrzypek/subscriptions","organizations_url":"https://api.github.com/users/jskrzypek/orgs","repos_url":"https://api.github.com/users/jskrzypek/repos","events_url":"https://api.github.com/users/jskrzypek/events{/privacy}","received_events_url":"https://api.github.com/users/jskrzypek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-08T13:17:29Z","updated_at":"2015-10-15T15:24:14Z","closed_at":"2015-10-15T15:24:14Z","body":"This module (as well as [`ionic-service-core`](https://github.com/driftyco/ionic-service-deploy)) depends on [`ionic`](https://github.com/driftyco/ionic) to be completely loaded, just to use `ionic.Platform.isAndroid()`. Perhaps it would be easier to just include a standalone function, such as the userAgent hack in [js/utils/platform.js line 320](https://github.com/driftyco/ionic/blob/master/js/utils/platform.js#L320)? I'll attach a PR soon."}}