{"action":"created","issue":{"url":"https://api.github.com/repos/ionic-team/cordova-plugin-ionic-webview/issues/54","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/54/labels{/name}","comments_url":"https://api.github.com/repos/ionic-team/cordova-plugin-ionic-webview/issues/54/comments","events_url":"https://api.github.com/repos/ionic-team/cordova-plugin-ionic-webview/issues/54/events","html_url":"https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/54","id":279294952,"number":54,"title":"Unable to get WKWebview working with native Photo Library plugin","user":{"login":"jaybloke","id":564037,"avatar_url":"https://avatars1.githubusercontent.com/u/564037?v=4","gravatar_id":"","url":"https://api.github.com/users/jaybloke","html_url":"https://github.com/jaybloke","followers_url":"https://api.github.com/users/jaybloke/followers","following_url":"https://api.github.com/users/jaybloke/following{/other_user}","gists_url":"https://api.github.com/users/jaybloke/gists{/gist_id}","starred_url":"https://api.github.com/users/jaybloke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaybloke/subscriptions","organizations_url":"https://api.github.com/users/jaybloke/orgs","repos_url":"https://api.github.com/users/jaybloke/repos","events_url":"https://api.github.com/users/jaybloke/events{/privacy}","received_events_url":"https://api.github.com/users/jaybloke/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-05T09:00:27Z","updated_at":"2018-02-09T12:38:05Z","closed_at":"2018-02-09T12:38:05Z","author_association":"NONE","body":"When using WKWebview, custom schemes like cdvphotolibrary:// do not appear to work (even with dom sanitiser in place).\r\n\r\nThe cdvphotolibrary:// scheme is employed to show thumbnails etc when filtering photos from the cordova photo library plugin.\r\n\r\nHad to revert back to UIWebView in order to get the photo library plugin to work.\r\n\r\nIssue also mentioned here: https://github.com/terikon/cordova-plugin-photo-library/issues/41"},"comment":{"url":"https://api.github.com/repos/ionic-team/cordova-plugin-ionic-webview/issues/comments/364422747","html_url":"https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/54#issuecomment-364422747","issue_url":"https://api.github.com/repos/ionic-team/cordova-plugin-ionic-webview/issues/54","id":364422747,"user":{"login":"mhartington","id":2835826,"avatar_url":"https://avatars3.githubusercontent.com/u/2835826?v=4","gravatar_id":"","url":"https://api.github.com/users/mhartington","html_url":"https://github.com/mhartington","followers_url":"https://api.github.com/users/mhartington/followers","following_url":"https://api.github.com/users/mhartington/following{/other_user}","gists_url":"https://api.github.com/users/mhartington/gists{/gist_id}","starred_url":"https://api.github.com/users/mhartington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhartington/subscriptions","organizations_url":"https://api.github.com/users/mhartington/orgs","repos_url":"https://api.github.com/users/mhartington/repos","events_url":"https://api.github.com/users/mhartington/events{/privacy}","received_events_url":"https://api.github.com/users/mhartington/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T12:38:05Z","updated_at":"2018-02-09T12:38:05Z","author_association":"OWNER","body":"This make sense, since the wkwebview plugin uses a file server to serve the app contents. \r\n\r\nhttp://ionicframework.com/docs/wkwebview/\r\n\r\nWe mention this in the WKWebview docs, but you cannot use any file protocol when referencing native files. This also includes the `cdvfile://` protocol. Instead, get the full file path, and use the `normalizeUrl` function.\r\n\r\nhttps://ionicframework.com/docs/wkwebview/#rewriting-file"}}
{"actor":{"display_login":"mhartington"}}