[ 
https://issues.apache.org/jira/browse/CB-10269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jochen Magnus updated CB-10269:
-------------------------------
    Comment: was deleted

(was: This solution works, thank you. 

But if the application calls "window.location.reload()" the same error occurs 
when restarting. (In my case I tested with "alert(device.platform)" which is 
o.k. after starting but null when restarting))

> [iOS 8] cordova-plugin-wkwebview-engine breaks Cordova iOS 4.0.0 under iOS 8
> ----------------------------------------------------------------------------
>
>                 Key: CB-10269
>                 URL: https://issues.apache.org/jira/browse/CB-10269
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin WKWebViewEngine
>    Affects Versions: 4.0.0
>         Environment: Cordova tools 5.4.1
> Cordova iOS platform 4.0.1
> iOS Simulator 8.4
> cordova-plugin-wkwebview-engine plugin
>            Reporter: Ivan Karpan
>            Priority: Critical
>              Labels: cordova-ios-4.1.0, triaged
>         Attachments: ios-wkwebview-exec.js
>
>
> 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?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to