Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
4.0.0
-
None
-
Cordova tools 5.4.1
Cordova iOS platform 4.0.1
iOS Simulator 8.4
cordova-plugin-wkwebview-engine plugin
Description
When launching on iOS 8.4 simulator the following error breaks JS execution early on:
ios-wkwebview-exec.js:127 TypeError: undefined is not an object (evaluating 'window.webkit.messageHandlers')
So inclusion of 'cordova-plugin-wkwebview-engine' plugin breaks support of iOS versions previous to 9.0. I assume ios-wkwebview-exec.js should have environment checks before using WKWebView bridge...
Exclusion of the same plugin breaks the project at all. Are there any fallback mechanics in place?