You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have recently upgraded to Cordova InAppBrowser plugin to 3.2.0 which uses wkwebview to render HTML content. I have always been able to load local HTML file by using the following the code:
This approach is not working either. The inAppBrowser opens and shows HTML Error 403: forbidden. After I close the browser, all the local files like IMG becomes unavailable and browser console [Error] Failed to load resource: the server responded with a status of 403 (Forbidden). I don't understand why closing browser cause other local files become accessible.
Information
Command or Code
Environment, Platform, Device
I m using the cordova-plugin-wkwebview-engine plugin which forces to use WKwebview. here are the configs
Since I don't want to use a fork in my project, for now I'll use a workaround to avoid loading local files in InAppBrowser in my app, I hope this is fixed soon :)
Bug Report
Problem
What is expected to happen?
What does actually happen?
I have recently upgraded to Cordova InAppBrowser plugin to 3.2.0 which uses wkwebview to render HTML content. I have always been able to load local HTML file by using the following the code:
However, wkwebview doesn't support 'cdvfile' so I tried using the relative file as below
This approach is not working either. The inAppBrowser opens and shows HTML Error 403: forbidden. After I close the browser, all the local files like IMG becomes unavailable and browser console [Error] Failed to load resource: the server responded with a status of 403 (Forbidden). I don't understand why closing browser cause other local files become accessible.
Information
Command or Code
Environment, Platform, Device
I m using the cordova-plugin-wkwebview-engine plugin which forces to use WKwebview. here are the configs
Version information
Cordova ios: 5.1.1
ios: 13.4
Cordova: 9.0
Checklist
The text was updated successfully, but these errors were encountered: