-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
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:
- build the xcode project and deploy to ios device. My device is iPhone 7 with iOS 12.0.1
- after start the app, click "Demo Mode" button
- 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