So I have a project to build an app, that downloads a zip file that contains a HTML file, CSS and JS files.
I’ve managed to download the zip, save it to the disk and extract the content.
Now I’m trying to open the HTML file and render it in the app. I think i should use the In-app-browser plugin. But i cant get it to work yet.
In a empty page I’ve put this code into the ionViewDidLoad() method:
const browser = this.iab.create('file://DIRECTORY/Index.html', '_self'); browser.show();
iab is a private variable of type InAppBrowser in the constructor of that page.
The file path is different but this is for the example.
The method will run, I’ve checked that with logging. But the app won’t load the file and doesn’t show it.
Also no errors or what so ever.
Anyone know’s what im missing?