App stopped working with iOS10 and cordova

Bugs will be moved here once resolved.

Post » Fri Sep 23, 2016 5:20 pm

It was a quick fix, here it is:

In c2runtime.js replace:
this.isWKWebView = !!(this.isiOS && this.isCordova && window.indexedDB);
With:
this.isWKWebView = false;
B
10
S
3
Posts: 48
Reputation: 758

Post » Sat Sep 24, 2016 12:39 pm

@COGames - that will also break your app if it tries to run in WKWebView mode.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,240

Post » Sat Sep 24, 2016 6:55 pm

Okay, so export the games with WKWebView mode selected when exporting with Cordova, and then, in Intel XDK, add the plugin for WKWEebView. Is this right?
I did this and now my app running on my iPhone6 with iOS10, as well as my iPad2 with iOS9. The only thing is that I am unable to load the app via Intel's App Preview (I get "Error fetching data.js"), but it loads fine on the iPad. I guess this is Intel's problem?


Just wondering now, the apps that I redid by changing the lines I mentioned in my previous post, how would they try to run in WKWebView mode? I didn't install the pluggin for that, so I should be good with those right? I should just use WKWebView in the future because it has better performance - right?
B
10
S
3
Posts: 48
Reputation: 758

Previous

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 6 guests