How to override the boilerplate-generator (or change Content Security Policy)?

I have noticed that the standard Content Security Policy is missing the protocol ’ android-webview-video-poster:’ which is required for WebRTC on Android. I tried to test this by overriding the boilerplate-generator package with a local package, but the changes are not applied to my app.

I’ve already experienced at an earlier time (when iOS 10 came out and there were CSP problems related to this), that the boilerplate-generator is somehow hard-coded in the build system. Is there another way to override it (or at least influence the CSP somehow)?

2 Likes

@waldgeist do you find way to solve this?