{"action":"created","issue":{"url":"https://api.github.com/repos/opengapps/opengapps/issues/30","labels_url":"https://api.github.com/repos/opengapps/opengapps/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/opengapps/opengapps/issues/30/comments","events_url":"https://api.github.com/repos/opengapps/opengapps/issues/30/events","html_url":"https://github.com/opengapps/opengapps/issues/30","id":91230394,"number":30,"title":"Collecting a big set of DeviceIDs to download APKs","user":{"login":"mfonville","id":6221544,"avatar_url":"https://avatars.githubusercontent.com/u/6221544?v=3","gravatar_id":"","url":"https://api.github.com/users/mfonville","html_url":"https://github.com/mfonville","followers_url":"https://api.github.com/users/mfonville/followers","following_url":"https://api.github.com/users/mfonville/following{/other_user}","gists_url":"https://api.github.com/users/mfonville/gists{/gist_id}","starred_url":"https://api.github.com/users/mfonville/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfonville/subscriptions","organizations_url":"https://api.github.com/users/mfonville/orgs","repos_url":"https://api.github.com/users/mfonville/repos","events_url":"https://api.github.com/users/mfonville/events{/privacy}","received_events_url":"https://api.github.com/users/mfonville/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/opengapps/opengapps/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/opengapps/opengapps/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":34,"created_at":"2015-06-26T11:40:05Z","updated_at":"2015-07-22T22:45:18Z","closed_at":null,"body":"Since the Google Play Store only allows us to download APKs of architectures and DPIs of which we have a device, I have the following proposal:\r\nNEW STRATEGY:\r\n* We will use a Google Account (not a Gmail account) per device\r\n* Being able to keep control of the mailbox associated with the account, the deviceID supplier cannot hijack it\r\n* A user with a new device to be added willl be given the details to log in and associate the device with the Google Account\r\n* After logging in, the user will can send us the GSF ID using https://play.google.com/store/apps/details?id=com.redphx.deviceid\r\n* The Google Account will be changed to two-factor authentication, an app-password will be supplied to all Packagers.\r\n* The app-password and deviceID information will be shared to the Packagers via Google Sheets spreadsheet.\r\n* This deviceID can now be used when using the APK download utility by the Packagers @ https://chrome.google.com/webstore/detail/apk-downloader/cgihflhdpokeobcfimliamffejfnmfii/related?hl=en&gl=VN in combination with the authentication token\r\n\r\nAdvantages:\r\n* Nobody needs to know someone's password\r\n* Packagers can download for all architectures/DPIs (and SDKs) using the extension.\r\n* The accounts stay after initialisation in our (read: my) hands to ensure integrity and safety.\r\n\r\nOLD STRATEGY:\r\n* ~~We make a common Google Account~~\r\n* ~~Every Packager will get the e-mail address of the Google Account and a single authentication token from the app-specific-password generator.~~\r\n* ~~Every supplier of a new Device&DPI combination will get a single authentication token from the app-specific-password generator, to be used ONCE for adding the Google Account once to the device.~~\r\n* ~~The supplier can look up the deviceID with https://play.google.com/store/apps/details?id=com.redphx.deviceid~~\r\n* ~~The supplier's deviceID will be posted to the DEVICES file in the source-repository of that architecture~~\r\n* ~~This deviceID can now be used when using the APK download utility by the Packagers @ https://chrome.google.com/webstore/detail/apk-downloader/cgihflhdpokeobcfimliamffejfnmfii/related?hl=en&gl=VN in combination with the authentication token~~\r\n\r\n~~Advantages:~~\r\n* ~~Nobody needs to know someone's password~~\r\n* ~~Packagers can download for all architectures/DPIs (and SDKs) using the extension.~~\r\n* ~~A DeviceID in itself is worthless, so is no problem to share via the repository.~~"},"comment":{"url":"https://api.github.com/repos/opengapps/opengapps/issues/comments/123895494","html_url":"https://github.com/opengapps/opengapps/issues/30#issuecomment-123895494","issue_url":"https://api.github.com/repos/opengapps/opengapps/issues/30","id":123895494,"user":{"login":"mfonville","id":6221544,"avatar_url":"https://avatars.githubusercontent.com/u/6221544?v=3","gravatar_id":"","url":"https://api.github.com/users/mfonville","html_url":"https://github.com/mfonville","followers_url":"https://api.github.com/users/mfonville/followers","following_url":"https://api.github.com/users/mfonville/following{/other_user}","gists_url":"https://api.github.com/users/mfonville/gists{/gist_id}","starred_url":"https://api.github.com/users/mfonville/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfonville/subscriptions","organizations_url":"https://api.github.com/users/mfonville/orgs","repos_url":"https://api.github.com/users/mfonville/repos","events_url":"https://api.github.com/users/mfonville/events{/privacy}","received_events_url":"https://api.github.com/users/mfonville/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T22:45:18Z","updated_at":"2015-07-22T22:45:18Z","body":"It counts the apks, not the commits. So just providing the most (dpi+arch) variations the fastest is the 'key' to winning ( and good for the project. See what I did there? :-) )\nWinner will get ice cream and postcard at the end of the year ;-)"}}