Launch Local Files
kstangel opened this issue · comments
Launch Local Files such as file://
It appears this is not possible via file://
URLs. Throws an error on Webview initialization. Workaround suggested here probably wouldn't work for this application: http://stackoverflow.com/questions/23374184/load-local-file-in-chrome-app-webview
Re-opening since it's theoretically possible via: https://developer.chrome.com/apps/fileSystem and we've had additional requests for this feature.
This work is in progress. Will likely use a modified version of https://github.com/kzahel/web-server-chrome
In the meantime (on systems other than ChromeOS) the recommended solution is to use a simple local HTTP server (such as Mongoose: https://code.google.com/p/mongoose/)
Worked on support for this feature today: https://github.com/zebradog/kiosk/pull/90
Added in de09d80
Re-opening since folks are still attempting to use file://
paths. Could prompt with a notification and automatically turn on the local server or use FileSystem method: https://stackoverflow.com/questions/27932960/how-do-you-display-a-filesystem-url-in-a-chrome-app-webview
Related:
#287
#197
#140
https://cookcompany.zendesk.com/agent/tickets/632
https://bugs.chromium.org/p/chromium/issues/detail?id=321638