{"action":"created","issue":{"url":"https://api.github.com/repos/ionic-team/cordova-plugin-ionic-webview/issues/45","repository_url":"https://api.github.com/repos/ionic-team/cordova-plugin-ionic-webview","labels_url":"https://api.github.com/repos/ionic-team/cordova-plugin-ionic-webview/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/ionic-team/cordova-plugin-ionic-webview/issues/45/comments","events_url":"https://api.github.com/repos/ionic-team/cordova-plugin-ionic-webview/issues/45/events","html_url":"https://github.com/ionic-team/cordova-plugin-ionic-webview/pull/45","id":272087360,"node_id":"MDExOlB1bGxSZXF1ZXN0MTUxMzAyNTcw","number":45,"title":"Allow wkwebview to continue running (and processing javascript!) when app is in the background","user":{"login":"ghenry22","id":7463213,"node_id":"MDQ6VXNlcjc0NjMyMTM=","avatar_url":"https://avatars3.githubusercontent.com/u/7463213?v=4","gravatar_id":"","url":"https://api.github.com/users/ghenry22","html_url":"https://github.com/ghenry22","followers_url":"https://api.github.com/users/ghenry22/followers","following_url":"https://api.github.com/users/ghenry22/following{/other_user}","gists_url":"https://api.github.com/users/ghenry22/gists{/gist_id}","starred_url":"https://api.github.com/users/ghenry22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghenry22/subscriptions","organizations_url":"https://api.github.com/users/ghenry22/orgs","repos_url":"https://api.github.com/users/ghenry22/repos","events_url":"https://api.github.com/users/ghenry22/events{/privacy}","received_events_url":"https://api.github.com/users/ghenry22/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":29,"created_at":"2017-11-08T06:26:20Z","updated_at":"2018-11-14T14:13:41Z","closed_at":"2018-06-05T13:58:12Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ionic-team/cordova-plugin-ionic-webview/pulls/45","html_url":"https://github.com/ionic-team/cordova-plugin-ionic-webview/pull/45","diff_url":"https://github.com/ionic-team/cordova-plugin-ionic-webview/pull/45.diff","patch_url":"https://github.com/ionic-team/cordova-plugin-ionic-webview/pull/45.patch"},"body":"This stops wkwebview from instantly stopping all javascript processes when app is sent to the background by attaching it to a key window so that it is still seen as \"active\" even when in the background vs the default of instantly being considered inactive as it has no active window attached.\r\n\r\nMakes it behave the same as UIWebview when app is sent to the background and removes the need for the background mode plugin making things more predictable for developers.\r\n\r\nThis DOES NOT keep the app alive beyond the normal OS enforced limits for background run time etc, you still need to have an appropriate background capability enabled in xcode and if you app is actually idle it will still be suspended exactly as it should."},"comment":{"url":"https://api.github.com/repos/ionic-team/cordova-plugin-ionic-webview/issues/comments/438675469","html_url":"https://github.com/ionic-team/cordova-plugin-ionic-webview/pull/45#issuecomment-438675469","issue_url":"https://api.github.com/repos/ionic-team/cordova-plugin-ionic-webview/issues/45","id":438675469,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODY3NTQ2OQ==","user":{"login":"cryo243","id":5133239,"node_id":"MDQ6VXNlcjUxMzMyMzk=","avatar_url":"https://avatars3.githubusercontent.com/u/5133239?v=4","gravatar_id":"","url":"https://api.github.com/users/cryo243","html_url":"https://github.com/cryo243","followers_url":"https://api.github.com/users/cryo243/followers","following_url":"https://api.github.com/users/cryo243/following{/other_user}","gists_url":"https://api.github.com/users/cryo243/gists{/gist_id}","starred_url":"https://api.github.com/users/cryo243/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryo243/subscriptions","organizations_url":"https://api.github.com/users/cryo243/orgs","repos_url":"https://api.github.com/users/cryo243/repos","events_url":"https://api.github.com/users/cryo243/events{/privacy}","received_events_url":"https://api.github.com/users/cryo243/received_events","type":"User","site_admin":false},"created_at":"2018-11-14T14:13:41Z","updated_at":"2018-11-14T14:13:41Z","author_association":"NONE","body":"Hi @chinmay-ksolves ,\r\nYes that's because of another issue that I did not cater for in my fixes, which @ghenry22 had a fix for.\r\nplease refer to \r\n\r\n\r\n\r\n\r\n> Thanks @ghenry22 . Number 3 is exactly what we were experiencing. When the app is brought forward, local images won't display sometimes.\r\n\r\n"}}
{"actor":{"display_login":"cryo243"}}