ionic-team / cordova-plugin-ionic-webview

Web View plugin for Cordova, specialized for Ionic apps.
Apache License 2.0
485 stars 393 forks source link

Navigation issue on iOS 12 #579

Open chrslcy opened 4 years ago

chrslcy commented 4 years ago

After installing cordova-plugin-ionic-webview plugin in a JQuery Mobile app, it works fine in iOS 13, however, in iOS 12 the navigation has stopped working. When I click on a navigation buttons, the page reloads without navigating to the intended page.

Navigation button script: $("body").pagecontainer("change", "Products.html", { transition : "none" });

Running: Cordova iOS (5.1.1) cordova-plugin-ionic-webview (5.0.0) (same result with 4.1.4)

jcesarmobile commented 4 years ago

can you provide a sample app?

chrslcy commented 4 years ago

Sure: iOS_12_Test_App.zip

jcesarmobile commented 4 years ago

Well, I meant a simple sample app where I could be easily see what's going on, I have no idea how appery is handling the navigation in your app. I can manually navigate to any page using javascript.

Anyway, since it works in iOS 13, it's probably some WKWebView bug or some appery bug.

chrslcy commented 4 years ago

Oops. Sorry. This was the file I meant to upload: iOS 12 Test App Web.zip

I'll get back onto Appery to investigate at their end. Thank you.