{"action":"created","issue":{"url":"https://api.github.com/repos/akvo/akvo-flow-mobile/issues/508","repository_url":"https://api.github.com/repos/akvo/akvo-flow-mobile","labels_url":"https://api.github.com/repos/akvo/akvo-flow-mobile/issues/508/labels{/name}","comments_url":"https://api.github.com/repos/akvo/akvo-flow-mobile/issues/508/comments","events_url":"https://api.github.com/repos/akvo/akvo-flow-mobile/issues/508/events","html_url":"https://github.com/akvo/akvo-flow-mobile/issues/508","id":189451715,"number":508,"title":"Update play services","user":{"login":"valllllll2000","id":923280,"avatar_url":"https://avatars.githubusercontent.com/u/923280?v=3","gravatar_id":"","url":"https://api.github.com/users/valllllll2000","html_url":"https://github.com/valllllll2000","followers_url":"https://api.github.com/users/valllllll2000/followers","following_url":"https://api.github.com/users/valllllll2000/following{/other_user}","gists_url":"https://api.github.com/users/valllllll2000/gists{/gist_id}","starred_url":"https://api.github.com/users/valllllll2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valllllll2000/subscriptions","organizations_url":"https://api.github.com/users/valllllll2000/orgs","repos_url":"https://api.github.com/users/valllllll2000/repos","events_url":"https://api.github.com/users/valllllll2000/events{/privacy}","received_events_url":"https://api.github.com/users/valllllll2000/received_events","type":"User","site_admin":false},"labels":[{"id":463018154,"url":"https://api.github.com/repos/akvo/akvo-flow-mobile/labels/In%20progress","name":"In progress","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"valllllll2000","id":923280,"avatar_url":"https://avatars.githubusercontent.com/u/923280?v=3","gravatar_id":"","url":"https://api.github.com/users/valllllll2000","html_url":"https://github.com/valllllll2000","followers_url":"https://api.github.com/users/valllllll2000/followers","following_url":"https://api.github.com/users/valllllll2000/following{/other_user}","gists_url":"https://api.github.com/users/valllllll2000/gists{/gist_id}","starred_url":"https://api.github.com/users/valllllll2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valllllll2000/subscriptions","organizations_url":"https://api.github.com/users/valllllll2000/orgs","repos_url":"https://api.github.com/users/valllllll2000/repos","events_url":"https://api.github.com/users/valllllll2000/events{/privacy}","received_events_url":"https://api.github.com/users/valllllll2000/received_events","type":"User","site_admin":false},"assignees":[{"login":"valllllll2000","id":923280,"avatar_url":"https://avatars.githubusercontent.com/u/923280?v=3","gravatar_id":"","url":"https://api.github.com/users/valllllll2000","html_url":"https://github.com/valllllll2000","followers_url":"https://api.github.com/users/valllllll2000/followers","following_url":"https://api.github.com/users/valllllll2000/following{/other_user}","gists_url":"https://api.github.com/users/valllllll2000/gists{/gist_id}","starred_url":"https://api.github.com/users/valllllll2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valllllll2000/subscriptions","organizations_url":"https://api.github.com/users/valllllll2000/orgs","repos_url":"https://api.github.com/users/valllllll2000/repos","events_url":"https://api.github.com/users/valllllll2000/events{/privacy}","received_events_url":"https://api.github.com/users/valllllll2000/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2016-11-15T17:13:01Z","updated_at":"2016-11-18T12:27:15Z","closed_at":null,"body":"We are using a very old version of play services from like over 2 years ago (using 4.0.30 but latest is 9.8)\r\n\r\nIn a more recent version was introduced a nice tool called [GcmTaskService](https://developers.google.com/android/reference/com/google/android/gms/gcm/GcmTaskService) which I think will be ideal for a task I am working on updating the apk (#499).\r\n\r\nAlso in a more recent version than the one we are using it was introduced granular play services which means if you only need maps, you just add maps and not the whole play services. This makes the apk smaller.\r\n\r\nThe issue is: the old devices may not have the latest version. We would need to test the changes before merging on some kind of old device and see what happens.\r\n\r\n## Test plan:\r\nTest capturing geoshapes survey\r\nTest if location works\r\nTest showing map when no surveys\r\nTest showing map when multiple data points -> should be shown on the map\r\nTest selecting a datapoint and showing it on the map -> should load the map and display the datapoint.\r\n\r\nImportant to test especially with some old device.\r\n\r\nIf you see some message over the map to update play services, please make a screenshot."},"comment":{"url":"https://api.github.com/repos/akvo/akvo-flow-mobile/issues/comments/261520576","html_url":"https://github.com/akvo/akvo-flow-mobile/issues/508#issuecomment-261520576","issue_url":"https://api.github.com/repos/akvo/akvo-flow-mobile/issues/508","id":261520576,"user":{"login":"valllllll2000","id":923280,"avatar_url":"https://avatars.githubusercontent.com/u/923280?v=3","gravatar_id":"","url":"https://api.github.com/users/valllllll2000","html_url":"https://github.com/valllllll2000","followers_url":"https://api.github.com/users/valllllll2000/followers","following_url":"https://api.github.com/users/valllllll2000/following{/other_user}","gists_url":"https://api.github.com/users/valllllll2000/gists{/gist_id}","starred_url":"https://api.github.com/users/valllllll2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valllllll2000/subscriptions","organizations_url":"https://api.github.com/users/valllllll2000/orgs","repos_url":"https://api.github.com/users/valllllll2000/repos","events_url":"https://api.github.com/users/valllllll2000/events{/privacy}","received_events_url":"https://api.github.com/users/valllllll2000/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T12:27:14Z","updated_at":"2016-11-18T12:27:14Z","body":"@muloem the play services is a library from google that allows you to view maps and also use other google services which we do not use yet. If the version that the device has is older than the one we require,  the map will not be shown and there will be a button displayed instead saying they should update. All the functionalities that do not require maps will still work.\r\n\r\nJana told me on her old device she has play services version 7.5 so I could use that one (instead of the 9.4 I initially tested). I bought a device yesterday and it did not even have the play services installed at all and in that case you get a button to download the app (this also happens with the flow version currently in production). Here is a screenshot:\r\n\r\n![play_services](https://cloud.githubusercontent.com/assets/923280/20429933/dbe54298-ad91-11e6-8be0-40e8fed130f8.png)\r\n\r\nMy idea:\r\nUpdate to 7.5 (latest is 9.8). For me 7.5 is good enough for the tools I need at this moment.\r\n\r\nOptional:\r\n1) We could also add a check right after install/update to check for play services version and suggest the user to update. We may consider that at that moment, most people are connected to the internet since they updated. \r\n2) We could also add an entry in the settings of the app so user can update when he want.\r\n\r\nAny thoughts @janagombitova @muloem @stellanl ?\r\n"}}
{"actor":{"display_login":"valllllll2000"}}