We have recently switched on CSP on an environment and are not able to load a Cordova plugin anymore. This plugin loads an external SDK.
I've looked at the CSP documentation, but it's not entirely clear for me if I need to add anything to allow custom Cordova plugins. Does anyone have experience with it?
Hi Remco,
You can inspect the CSP errors you get, the URL's mentioned are an indication of URLs maybe access through the external SDK that you need to add to your CSP configuration.
If this doesn't help you, then may I suggest to share more details, as your question is very generic.
Regards,
Daniel
The plugin was a bit difficult to disclose due to the client's policy. However, I did find out that the CSP did not cause the issue. Therefore, there seems to be no need to adjust (external SDK) plugin implementation when CSP is turned on.