Hi all,
I’m having an issue with loading the iframe url in ionic ios. this is working fine in android but in ios it’s only load the iframe. I have tried adding but no luck. Can someone please help me with it
Hi all,
I’m having an issue with loading the iframe url in ionic ios. this is working fine in android but in ios it’s only load the iframe. I have tried adding but no luck. Can someone please help me with it
Did you have
<allow-navigation href="*" />
defined inside <platform name="ios">
in the config.xml
?
yes i already added to my config file, under platform ios but still no luck
I solved my issue by adding
<meta http-equiv="Content-Security-Policy"
content="default-src * 'self' data: gap: 'unsafe-inline' 'unsafe-eval';
style-src * 'self' 'unsafe-inline' 'unsafe-eval' gap:;
script-src * 'self' 'unsafe-inline' 'unsafe-eval' gap:; frame-src *;">
to my index.html
references: