Issue with WKWebView on iOS

Bugs will be moved here once resolved.

Post » Fri Jul 15, 2016 4:33 pm

This is a closed bug report. Please file a new report if you still have trouble. Note WebGL still works without WKWebView.
Scirra Founder
B
397
S
236
G
88
Posts: 24,423
Reputation: 194,560

Post » Sun Jul 17, 2016 8:48 am

Hi Everyone,

with r231 you can get your WebGL working on iOS.

you are able to compile with Cocoonjs cloud (webview+) and get high performance.

you need export project as cordova
- uncheck UIWevView
- uncheck minify

in Cocoonjs delete plugin Wishlist Cordova

All works fine (no black screen) except Statuc bar is showing in ois but i think it can be hidden in XCODE

Hava a good one,

Sergey
B
19
S
6
G
1
Posts: 25
Reputation: 1,719

Post » Tue Jan 10, 2017 4:58 pm

Just fix it.... Phonegap dosnt work with audio on iOS +10

Just..... do it...
B
37
S
9
G
8
Posts: 541
Reputation: 8,554

Post » Tue Jan 10, 2017 5:21 pm

Sergeyk wrote:Hi Everyone,

with r231 you can get your WebGL working on iOS.

you are able to compile with Cocoonjs cloud (webview+) and get high performance.

you need export project as cordova
- uncheck UIWevView
- uncheck minify

in Cocoonjs delete plugin Wishlist Cordova

All works fine (no black screen) except Statuc bar is showing in ois but i think it can be hidden in XCODE

Hava a good one,

Sergey



Does not work here :/
B
37
S
9
G
8
Posts: 541
Reputation: 8,554

Post » Mon Jan 23, 2017 9:07 am

Ashley wrote:This is more tricky than it seems, I think. The now-official way to use WKWebView in Cordova is with their new official WKWebView plugin, which is what we use, and requires some workarounds so we include some other plugins such as cordova-httpd. I don't know how Cocoon's WKWebView support works - it seems it uses a different system of their own design. Still it would make sense for them to unify their solution with the way the rest of the Cordova ecosystem works, so I anticipate this will change at some point. The suggested workaround will break it again if they do that. It also makes the runtime think it's in a UIWebView when it's really in a WKWebView, which could have other side-effects.

The HTTP server is only used for video support, since we have to work around WKWebView limitations there. I don't know if Cocoon's own WKWebView support covers video playback? That was a tough problem for us when working with WKWebView. So to hack around this, for the next build I've allowed the runtime to be able to start up without the HTTP server, and the only side effect is video playback probably won't work. I still think the HTTP server plugin should be supported by Cocoon though - otherwise I don't see how video support can work.


Hi Ashley
if you mean that the now official wkwebview plugin for cordova is this https://github.com/apache/cordova-plugi ... iew-engine
this is not working with c2
if i add the plugin i got black screen
if i delete it it work
if i add it and change the index.html to simple "hello" ... that work ... so i think the problem is in c2 export (c2runtime etc ...)
B
46
S
16
G
8
Posts: 794
Reputation: 8,335

Post » Mon Jan 23, 2017 6:45 pm

This is a closed bug report. Please file a new bug report following all the guidelines if you still have issues.
Scirra Founder
B
397
S
236
G
88
Posts: 24,423
Reputation: 194,560

Previous

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 6 guests