You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2015/12/28 18:57:49 UTC

[jira] [Commented] (CB-10269) [iOS 8] cordova-plugin-wkwebview-engine breaks Cordova iOS 4.0.0 under iOS 8

    [ https://issues.apache.org/jira/browse/CB-10269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15072956#comment-15072956 ] 

Shazron Abdullah commented on CB-10269:
---------------------------------------

The plugin falls back to UIWebView under iOS 8, in the native code. It looks like bridge JS (which wasn't broken when all the bridge code was in one JavaScript file) breaks when it is put into the plugin. cc [~purplecabbage]

> [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
>
> 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org