Loading files not working with WKWebView

Bugs will be moved here once resolved.

Post » Tue Oct 04, 2016 9:05 pm

Problem Description
Project files loading not working with using WKWebView.
Either via "AJAX request url" or "Load image from url".
Without WKWebView all works ok.

Attach a Capx
https://drive.google.com/open?id=0B14pU ... GhVeTYxcG8

Description of Capx
Capx have one layout with AJAX, Sprite and Texts objects and two project files "newgame.txt" and "hue210.png".

On start of layout ->
AJAX -> Request "newgame.txt"
Sprite -> Load image from "hue210.png"
On AJAX request complete ->
Text -> Set tetx to AJAX.LastData

Steps to Reproduce Bug
  • Export with WKWebView
  • Build for iOS in IntelXDK 3400 or 3522
  • Run under iphone 6 with iOS 9.3.2

Observed Result
White screen

Expected Result
White screen with text "New Game" and blue square.

Affected Browsers
  • Chrome: (YES/NO)
  • FireFox: (YES/NO)
  • Internet Explorer: (YES/NO)

Operating System and Service Pack
windows 8.1

Construct 2 Version ID
233
Last edited by SparklingAir on Sat Oct 15, 2016 9:01 am, edited 1 time in total.
B
16
S
6
G
1
Posts: 109
Reputation: 1,952

Post » Wed Oct 05, 2016 8:07 pm

I believe I am having the same issue.
Ajax requests works for me on Android build but not on the iOS build of my project.

Only change I can find around this is the issues that WKWebView in iOS 10 caused.
B
9
S
1
Posts: 12
Reputation: 614

Post » Thu Oct 06, 2016 3:53 am

I am having the same problem.
Last edited by duolon on Mon Oct 10, 2016 1:29 am, edited 1 time in total.
B
31
S
14
G
1
Posts: 16
Reputation: 2,942


Post » Fri Oct 07, 2016 1:59 pm

Thanks for the report, should be fixed in the next build.

Note for AJAX requests, the "request project file" worked previously, this bug only affects "request URL" with a relative URL.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,782


Post » Thu Nov 24, 2016 1:35 pm

Any solution YET ?
B
33
S
17
G
11
Posts: 350
Reputation: 8,695



Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 14 guests