Storing files from a Chrome App
koto opened this issue · comments
There is no direct way of storing dynamically created files (e.g. decryped PDF attachments) from a Chrome App I know of. Creating a Blob URL and clicking it doesn't work in Chrome. We might need to implement a Webview-based workaround - https://groups.google.com/a/chromium.org/forum/#!topic/chromium-apps/O-qk197U36Y
Experiment shows that blob URLs might be OK, and it didn't work because Angular didn't trust the blob:
protocol and prefixed it with unsafe:
. It might be easier and just require $sce.trustAsUrl
call on the URL.
Fixed in #26.