Sabjan Raghupati Sabjan Raghupati - 1 year ago 103
HTML Question

Iframe on cordova app not working

i am trying to create a hybrid app with an iframes, the frames are showing in web but in app the frames did not load.
Should i be using any plugin?

Answer

you have to white list the navigation inside the frame.

add this to your config.xml

<allow-navigation href="urls you navigate" />