{"action":"created","issue":{"url":"https://api.github.com/repos/quantcast/phonegap-measurement/issues/5","labels_url":"https://api.github.com/repos/quantcast/phonegap-measurement/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/quantcast/phonegap-measurement/issues/5/comments","events_url":"https://api.github.com/repos/quantcast/phonegap-measurement/issues/5/events","html_url":"https://github.com/quantcast/phonegap-measurement/pull/5","id":90710678,"number":5,"title":"Network Measurement for Android","user":{"login":"jarseneault","id":779680,"avatar_url":"https://avatars.githubusercontent.com/u/779680?v=3","gravatar_id":"","url":"https://api.github.com/users/jarseneault","html_url":"https://github.com/jarseneault","followers_url":"https://api.github.com/users/jarseneault/followers","following_url":"https://api.github.com/users/jarseneault/following{/other_user}","gists_url":"https://api.github.com/users/jarseneault/gists{/gist_id}","starred_url":"https://api.github.com/users/jarseneault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarseneault/subscriptions","organizations_url":"https://api.github.com/users/jarseneault/orgs","repos_url":"https://api.github.com/users/jarseneault/repos","events_url":"https://api.github.com/users/jarseneault/events{/privacy}","received_events_url":"https://api.github.com/users/jarseneault/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-24T15:31:09Z","updated_at":"2015-06-29T23:23:20Z","closed_at":"2015-06-29T23:23:20Z","pull_request":{"url":"https://api.github.com/repos/quantcast/phonegap-measurement/pulls/5","html_url":"https://github.com/quantcast/phonegap-measurement/pull/5","diff_url":"https://github.com/quantcast/phonegap-measurement/pull/5.diff","patch_url":"https://github.com/quantcast/phonegap-measurement/pull/5.patch"},"body":"Hi,\r\n\r\nWe needed network measurement for our Cordova-based Android apps, but the Cordova version of Quantcast didn't have it, so I've added it.\r\n\r\nNote that this *only includes the Android side* as we have a fully native iOS app, so I didn't make similar changes on the iOS side.  You'll need to add the appropriate methods in the iOS native code to complete this interface."},"comment":{"url":"https://api.github.com/repos/quantcast/phonegap-measurement/issues/comments/116877783","html_url":"https://github.com/quantcast/phonegap-measurement/pull/5#issuecomment-116877783","issue_url":"https://api.github.com/repos/quantcast/phonegap-measurement/issues/5","id":116877783,"user":{"login":"SmithKevin","id":4314255,"avatar_url":"https://avatars.githubusercontent.com/u/4314255?v=3","gravatar_id":"","url":"https://api.github.com/users/SmithKevin","html_url":"https://github.com/SmithKevin","followers_url":"https://api.github.com/users/SmithKevin/followers","following_url":"https://api.github.com/users/SmithKevin/following{/other_user}","gists_url":"https://api.github.com/users/SmithKevin/gists{/gist_id}","starred_url":"https://api.github.com/users/SmithKevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmithKevin/subscriptions","organizations_url":"https://api.github.com/users/SmithKevin/orgs","repos_url":"https://api.github.com/users/SmithKevin/repos","events_url":"https://api.github.com/users/SmithKevin/events{/privacy}","received_events_url":"https://api.github.com/users/SmithKevin/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T23:23:20Z","updated_at":"2015-06-29T23:23:20Z","body":"Hey Jamie,\r\n   Sorry this took so long.   To reduce confusion between the \"network\" integration and the regular integration and to prevent people from accidentally mixing and matching the two, we decided to put this code into a separate branch.   I also added the iOS version of the code for completeness.  In order to pull in the specific Network measurement you will need to use:\r\n`cordova plugin add https://github.com/quantcast/phonegap-measurement#network`\r\n\r\nAlso the integration is a tad different.  You will need to call the following in the OnDeviceReady method.\r\n`QuantcastNetworkMeasurement.setUpQuantcastMeasurement(<apiKeyOrNull>, <Pcode>, null, null, null, false);`   If you have a user ID or labels you can still pass them in the corresponding null.   You can also use the detail measure instructions by calling begin, pause, resume yourself.\r\n\r\nThanks again for the help on this and let me know if you have issues."}}