{"action":"created","issue":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/2801","repository_url":"https://api.github.com/repos/medic/medic-webapp","labels_url":"https://api.github.com/repos/medic/medic-webapp/issues/2801/labels{/name}","comments_url":"https://api.github.com/repos/medic/medic-webapp/issues/2801/comments","events_url":"https://api.github.com/repos/medic/medic-webapp/issues/2801/events","html_url":"https://github.com/medic/medic-webapp/issues/2801","id":180823977,"number":2801,"title":"Provide a way to use a bundled version of Chromium 51+ in medic-android","user":{"login":"browndav","id":763977,"avatar_url":"https://avatars.githubusercontent.com/u/763977?v=3","gravatar_id":"","url":"https://api.github.com/users/browndav","html_url":"https://github.com/browndav","followers_url":"https://api.github.com/users/browndav/followers","following_url":"https://api.github.com/users/browndav/following{/other_user}","gists_url":"https://api.github.com/users/browndav/gists{/gist_id}","starred_url":"https://api.github.com/users/browndav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/browndav/subscriptions","organizations_url":"https://api.github.com/users/browndav/orgs","repos_url":"https://api.github.com/users/browndav/repos","events_url":"https://api.github.com/users/browndav/events{/privacy}","received_events_url":"https://api.github.com/users/browndav/received_events","type":"User","site_admin":false},"labels":[{"id":55021840,"url":"https://api.github.com/repos/medic/medic-webapp/labels/4%20-%20Acceptance%20Testing","name":"4 - Acceptance Testing","color":"fef2c0","default":false},{"id":421854022,"url":"https://api.github.com/repos/medic/medic-webapp/labels/Storage","name":"Storage","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":{"login":"sglangevin","id":1286381,"avatar_url":"https://avatars.githubusercontent.com/u/1286381?v=3","gravatar_id":"","url":"https://api.github.com/users/sglangevin","html_url":"https://github.com/sglangevin","followers_url":"https://api.github.com/users/sglangevin/followers","following_url":"https://api.github.com/users/sglangevin/following{/other_user}","gists_url":"https://api.github.com/users/sglangevin/gists{/gist_id}","starred_url":"https://api.github.com/users/sglangevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sglangevin/subscriptions","organizations_url":"https://api.github.com/users/sglangevin/orgs","repos_url":"https://api.github.com/users/sglangevin/repos","events_url":"https://api.github.com/users/sglangevin/events{/privacy}","received_events_url":"https://api.github.com/users/sglangevin/received_events","type":"User","site_admin":false},"assignees":[{"login":"sglangevin","id":1286381,"avatar_url":"https://avatars.githubusercontent.com/u/1286381?v=3","gravatar_id":"","url":"https://api.github.com/users/sglangevin","html_url":"https://github.com/sglangevin","followers_url":"https://api.github.com/users/sglangevin/followers","following_url":"https://api.github.com/users/sglangevin/following{/other_user}","gists_url":"https://api.github.com/users/sglangevin/gists{/gist_id}","starred_url":"https://api.github.com/users/sglangevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sglangevin/subscriptions","organizations_url":"https://api.github.com/users/sglangevin/orgs","repos_url":"https://api.github.com/users/sglangevin/repos","events_url":"https://api.github.com/users/sglangevin/events{/privacy}","received_events_url":"https://api.github.com/users/sglangevin/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/medic/medic-webapp/milestones/67","html_url":"https://github.com/medic/medic-webapp/milestones/November%2014th%20-%20November%2028th","labels_url":"https://api.github.com/repos/medic/medic-webapp/milestones/67/labels","id":2132058,"number":67,"title":"November 14th - November 28th","description":"","creator":{"login":"garethbowen","id":2064938,"avatar_url":"https://avatars.githubusercontent.com/u/2064938?v=3","gravatar_id":"","url":"https://api.github.com/users/garethbowen","html_url":"https://github.com/garethbowen","followers_url":"https://api.github.com/users/garethbowen/followers","following_url":"https://api.github.com/users/garethbowen/following{/other_user}","gists_url":"https://api.github.com/users/garethbowen/gists{/gist_id}","starred_url":"https://api.github.com/users/garethbowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethbowen/subscriptions","organizations_url":"https://api.github.com/users/garethbowen/orgs","repos_url":"https://api.github.com/users/garethbowen/repos","events_url":"https://api.github.com/users/garethbowen/events{/privacy}","received_events_url":"https://api.github.com/users/garethbowen/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":29,"state":"closed","created_at":"2016-11-13T21:13:36Z","updated_at":"2016-11-28T20:57:33Z","due_on":"2016-11-28T00:00:00Z","closed_at":"2016-11-28T20:57:33Z"},"comments":13,"created_at":"2016-10-04T07:35:15Z","updated_at":"2016-12-01T14:08:18Z","closed_at":"2016-11-24T18:43:27Z","body":"Currently, medic-android relies on the system Webview. This means we get whatever version of Webview is provided by the system. On Android 5+, this component is automatically updated. On Android 4.4.x and lower, it is not. Currently the Tecno Y4 is Chromium 30 and does not get Webview updates.\n\nProvide an option to use a bundled version of Chromium (or Chrome) inside of `medic-android`, in lieu of the system-provided Webview. This could be handled by linking to a prebuilt shared object that we then bundle with our APK, or it may involve building Chromium from source. Prefer the first method initially, if possible, just to make sure we don't invest a ton of time in building from source before we know the approach is viable.\n\nOnce this is complete, we'll have a couple new attacks on the storage quota problem. In any case, we'd be able to use Origin Trial keys for persistent storage (quota impact still TBD). If we build from source, we'd be able to directly patch the Chromium runtime to exempt us from the quota restrictions.\n"},"comment":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/comments/264181602","html_url":"https://github.com/medic/medic-webapp/issues/2801#issuecomment-264181602","issue_url":"https://api.github.com/repos/medic/medic-webapp/issues/2801","id":264181602,"user":{"login":"alxndrsn","id":191496,"avatar_url":"https://avatars.githubusercontent.com/u/191496?v=3","gravatar_id":"","url":"https://api.github.com/users/alxndrsn","html_url":"https://github.com/alxndrsn","followers_url":"https://api.github.com/users/alxndrsn/followers","following_url":"https://api.github.com/users/alxndrsn/following{/other_user}","gists_url":"https://api.github.com/users/alxndrsn/gists{/gist_id}","starred_url":"https://api.github.com/users/alxndrsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alxndrsn/subscriptions","organizations_url":"https://api.github.com/users/alxndrsn/orgs","repos_url":"https://api.github.com/users/alxndrsn/repos","events_url":"https://api.github.com/users/alxndrsn/events{/privacy}","received_events_url":"https://api.github.com/users/alxndrsn/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T14:08:18Z","updated_at":"2016-12-01T14:08:18Z","body":"I can research this.  I doubt there's an API for getting access to the old WebView's data from the new WebView, but it might be possible to sync the databases by loading the two different WebViews and getting them to communicate through Java.  It would likely be a lot of work though, and from a dev perspective it would seem simpler to manage a staged rollout of the new version to the users, and take the hit on the extra data usage.\r\nIf we did implement automated migration, it would seem to make sense to use CouchDB's replication API, but this would require PouchDB in the XWalkWebView to function as replication server.  PouchDB may support this, but probably not in the standard build for web browsers.\r\n@sglangevin it might be worth opening a separate issue to discuss this, unless we're definitely not going ahead."}}
{"actor":{"display_login":"alxndrsn"}}