Open downloaded html file in iframe from local

#1

Hi,

I am new to Ionic and want to create an app where I will upload HTML file from the server and will download that file in local and view the same in an iframe inside the app.

I am able to download the file but iframe is not supporting “file://” or “cdvfile://localhost” path.
The reason I want to use iframe is that HTML file has CSS and JS as well.

I am able to view in inAppBrowser but don’t want to use that as it covers the whole screen. I want to open the file in a particular section of my app.

Tried a couple of things but nothing is working.

Would be really great if someone can help.