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'm trying to open local html file via inappbrowser. The file is stored in www (root) folder. As expected, opening file was impossible after upgrade from version 1.2.1, however I'm not able to make it work. Initially I simply passed file name to browser
I too am getting this issue, not sure if it's because in-app browser runs outside of the ionic app? I ended up just creating a new view that is effectively just an iframe/viewer to make it work.
I'm trying to open local html file via inappbrowser. The file is stored in www (root) folder. As expected, opening file was impossible after upgrade from version 1.2.1, however I'm not able to make it work. Initially I simply passed file name to browser
const url = "form.html?";
After updating web view I've changed it to
const url = (<any>window).Ionic.WebView.convertFileSrc("form.html");
I'm still getting The webpage at http://localhost:8080/form.html could not be loaded because net::ERR_CONNECTION_REFUSED. I've also tried using
const url = (<any>window).Ionic.WebView.convertFileSrc("file://form.html");
but nothing changed. Am I missing something?
The text was updated successfully, but these errors were encountered: