erisu opened a new pull request #787: fix (CDVWebViewEngine): JavaScript Not Working URL: https://github.com/apache/cordova-ios/pull/787 ### Motivation and Context Fix error when calling WebViewEngine JavaScript Code. ### Description When calling the WebViewEngine JavaScript ``` window.WkWebView.allowsBackForwardNavigationGestures(true); ``` The code does not process and an error displays in the Native logs, > 2020-02-13 18:51:12.416046+0900 MyAppName[48951:8545412] ERROR: Plugin 'CDVWebViewEngine' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml. 2020-02-13 18:51:12.416177+0900 MyAppName[48951:8545412] FAILED pluginJSON = ["INVALID","CDVWebViewEngine","allowsBackForwardNavigationGestures",[true]] This PR adds the missing declaration which makes the JavaScript access work. ### Testing - `npm t` - `cordova platform add` - `cordova build ios` - Run Simulator - Test JavaScript method and verify execution ### Checklist - [x] I've run the tests to see all new and existing tests pass
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
