cordova-plugin-wkwebview-engine icon indicating copy to clipboard operation
cordova-plugin-wkwebview-engine copied to clipboard

CDVWKWebViewEngine userContentController didReceiveScriptMessage: does not get called

Open aditisaini91 opened this issue 5 years ago • 0 comments

Bug Report

Problem

CDVWKWebViewEngine userContentController didReceiveScriptMessage: does not get called

What is expected to happen?

I am expecting that the method gets invoked and in turn executes the command from js

What does actually happen?

Does not even gets invoked. And I also observed that "webView decidePolicyForNavigationAction: " keeps on calling with url "gap://ready".

Information

Cordova 5.1.1 "cordova-plugin-wkwebview-engine": "1.2.1",

Command or Code

Environment, Platform, Device

Using simulator iphone X 12.4

Version information

Cordova 5.1.1 "cordova-plugin-wkwebview-engine": "1.2.1", xcode 11.3

Checklist

  • [x] I searched for existing GitHub issues
  • [x] I updated all Cordova tooling to most recent version
  • [x] I included all the necessary information above

aditisaini91 avatar May 08 '20 15:05 aditisaini91