{"action":"opened","issue":{"url":"https://api.github.com/repos/corley/generator-ng/issues/6","labels_url":"https://api.github.com/repos/corley/generator-ng/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/corley/generator-ng/issues/6/comments","events_url":"https://api.github.com/repos/corley/generator-ng/issues/6/events","html_url":"https://github.com/corley/generator-ng/issues/6","id":54170964,"number":6,"title":"is it a phonegap application?","user":{"login":"gianarb","id":1630267,"avatar_url":"https://avatars.githubusercontent.com/u/1630267?v=3","gravatar_id":"","url":"https://api.github.com/users/gianarb","html_url":"https://github.com/gianarb","followers_url":"https://api.github.com/users/gianarb/followers","following_url":"https://api.github.com/users/gianarb/following{/other_user}","gists_url":"https://api.github.com/users/gianarb/gists{/gist_id}","starred_url":"https://api.github.com/users/gianarb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gianarb/subscriptions","organizations_url":"https://api.github.com/users/gianarb/orgs","repos_url":"https://api.github.com/users/gianarb/repos","events_url":"https://api.github.com/users/gianarb/events{/privacy}","received_events_url":"https://api.github.com/users/gianarb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/corley/generator-ng/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"gianarb","id":1630267,"avatar_url":"https://avatars.githubusercontent.com/u/1630267?v=3","gravatar_id":"","url":"https://api.github.com/users/gianarb","html_url":"https://github.com/gianarb","followers_url":"https://api.github.com/users/gianarb/followers","following_url":"https://api.github.com/users/gianarb/following{/other_user}","gists_url":"https://api.github.com/users/gianarb/gists{/gist_id}","starred_url":"https://api.github.com/users/gianarb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gianarb/subscriptions","organizations_url":"https://api.github.com/users/gianarb/orgs","repos_url":"https://api.github.com/users/gianarb/repos","events_url":"https://api.github.com/users/gianarb/events{/privacy}","received_events_url":"https://api.github.com/users/gianarb/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/corley/generator-ng/milestones/1","labels_url":"https://api.github.com/repos/corley/generator-ng/milestones/1/labels","id":918375,"number":1,"title":"0.0.1","description":null,"creator":{"login":"gianarb","id":1630267,"avatar_url":"https://avatars.githubusercontent.com/u/1630267?v=3","gravatar_id":"","url":"https://api.github.com/users/gianarb","html_url":"https://github.com/gianarb","followers_url":"https://api.github.com/users/gianarb/followers","following_url":"https://api.github.com/users/gianarb/following{/other_user}","gists_url":"https://api.github.com/users/gianarb/gists{/gist_id}","starred_url":"https://api.github.com/users/gianarb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gianarb/subscriptions","organizations_url":"https://api.github.com/users/gianarb/orgs","repos_url":"https://api.github.com/users/gianarb/repos","events_url":"https://api.github.com/users/gianarb/events{/privacy}","received_events_url":"https://api.github.com/users/gianarb/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":3,"state":"open","created_at":"2014-12-31T11:48:42Z","updated_at":"2015-01-13T10:02:20Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-01-13T10:02:19Z","updated_at":"2015-01-13T10:02:19Z","closed_at":null,"body":"Generator will manage phonegap integration\r\n\r\n## package.json\r\n* grunt-phonegap-build\r\n* grunt-shell\r\n\r\n## Gruntfile.js\r\n```js\r\n\"phonegap-build\": {\r\n      release: {\r\n          options: {\r\n              archive: \"dist/upload.zip\",\r\n              \"appId\": \"<%=credential.phonegap.appId %>\",\r\n              \"user\": {\r\n                  \"token\": \"<%=credential.phonegap.token %>\"\r\n              },keys: {\r\n                  ios: { \"password\": \"<%=credential.phonegap.keys.ios.password %>\" },\r\n                  android: { \"key_pw\": \"<%=credential.phonegap.keys.android.key_pw %>\", \"keystore_pw\": \"<%=credential.phonegap.keys.android.keystore_pw %>\" }\r\n              },\r\n              download: {\r\n                  //ios: './dist/app.ipa',\r\n                  android: './dist/app.apk'\r\n              },\r\n              pollRate : 10\r\n          }\r\n      }\r\n    },\r\n    shell: {\r\n      install: {\r\n        options: {\r\n          stderr: true\r\n        },\r\n          command: [\r\n              'adb install -r ./dist/app.apk'\r\n          ].join('&&')\r\n      },\r\n      androidLog: {\r\n        options: {\r\n          stderr: true\r\n        },\r\n          command: [\r\n            'adb logcat CordovaLog:* GCMBaseIntentService:* GCMBroadcastReceiver:*   PluginManager:* *:S'\r\n          ].join('&&')\r\n      }\r\n    },\r\n```\r\n## Credential.json\r\n```json\r\n{\r\n    \"phonegap\": {\r\n        \"appId\": \"\",\r\n        \"token\": \"\",\r\n       \"keys\": {\r\n         \"ios\": { \"password\": \"\" },\r\n         \"android\": { \"key_pw\": \"\", \"keystore_pw\": \"\" }\r\n    }    \r\n}\r\n```"}}