disusered / cordova-open

Open audio, video, images and more with applications installed on the user's device
MIT License
54 stars 55 forks source link

Problem found #30

Closed appsystemstaff closed 9 years ago

appsystemstaff commented 9 years ago

Hi,

Thanks.

disusered commented 9 years ago

Hi, I added a test for this situation and was unable to replicate it on iOS or Android. Given your other issue (#29), I believe you have not set up a Content-Security-Policy for acceptable domains.

In a recent update this became mandatory. Since this plugin uses Cordova's FileTransfer plugin, it is subject to its rules.

You will need to add cordova-plugin-whitelist and set it up according to its README, then the plugin will work.