cordova-plugin-safariviewcontroller icon indicating copy to clipboard operation
cordova-plugin-safariviewcontroller copied to clipboard

Request: Displaying locally stored files

Open orenagiv opened this issue 5 years ago • 0 comments

Hi there,

Is there a plan (or maybe it's already possible) to load into the SVC a file that has been locally stored at the application-storage-directories (using cordova-plugin-file)?

Currently it seems the SVC only allows http(s):// And it refuses to view file URLs such as: http://localhost:123/... or cdvfile://...

For now, as a workaround, I found out that the plugin "cordova-open" works nicely (but note that the URI must be with the format of "file:///...") https://www.npmjs.com/package/cordova-open

If the SVC plugin could support internal storage URLs - that would be awesome.

Thanks! Oren

orenagiv avatar Jul 04 '19 21:07 orenagiv