You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/10/28 02:46:04 UTC
[GitHub] jonathanli2 opened a new issue #334: With the new ios inappbrowser
change for wkwebview support, the main webview content is disabled
jonathanli2 opened a new issue #334: With the new ios inappbrowser change for wkwebview support, the main webview content is disabled
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/334
Just upgrade our product ios Fiori client app with the updated inappbrowser plugin for master with the wkwebview support.
However, somehow after loading the web content in the main webView (UIWebView or WKWebView), the UI element in the main webview is disabled. Clicking on the button or other UI element does not have any response.
The same app with inappbrowser version 2.0 works as expected.
To repeat the issue, the three ios projects are shared at the below folder:
https://sap-my.sharepoint.com/:f:/p/jonathan_li/EmulfDR6x9RBuQdj5u1-NrwBYchculWO6RAfoC_NTM8XLw?e=YzzUkh
2.0WithUIWebView.zip
Fiori client build with inappbrowser plugin version 2.0.x. The main webview uses UIWebView.
masterWithUIWebview.zip
Fiori client build with inappbrowser plugin from master. The main webview uses UIWebView.
masterWithWKWebView.zip
Fiori client built with inappbrowser plugin from master. The main webview uses WKWebView.
Steps to repeat the issue:
1. build the xcode project and deploy to ios device. My device is iPhone 7 with iOS 12.0.1
2. after start the app, click "Demo Mode" button
3. Once the web content is shown, click the "See it in action" button.
When the project is built with inappbrowser 2.0 and UIWebView (2.0WithUIWebView.zip), click the "See it in action" button will go to the next page. In addition, double tab on the screen will show the toolbar items.
But after upgrading the project to latest inappbrowser plugin (masterWithUIWebview.zip), the main UIWebview does not response to the button click, or double tab. I also built a project with WKWebView as main UIwebView (masterWithWKWebView.zip), and got the same result.
Please look into this issue and see what causes this behavior change, particularly for the case when UIWebView is used as main webView.
Thanks
Jonathan
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org