Embedded widget is not shown in ios

I tried to embed a tradingview widget using this solution in my Ionic app. The process is to include a script in the index.html file, and then call the script in a component to show the widget:

<script type="text/javascript" src="https://s3.amazonaws.com/tradingview/tv.js"></script>

The widget shows correctly in Android and Web (both Safari and Chrome), but it doesn't show in IOS. Any ideas why it doesn't work in IOS?

I tried adding Content-Security-Policy in a meta tag, but it didn't fix the problem:

  <meta http-equiv="Content-Security-Policy" content="default-src 'self' https://s3.amazonaws.com/tradingview">

I also have whitelist plugin and this in my config file:

    <allow-navigation href="https://s3.amazonaws.com/tradingview/*" />

I don't see any errors in Xcodes's debug window. Really appreciate any help on this.