iOS WKWebView (XDK) music crash "servers already up" error

Bugs will be moved here once resolved.

Post » Mon Nov 21, 2016 6:46 pm

Can anyone provide a .capx which reproduces the problem and does not use any third-party plugins? Otherwise there is not much I can do here so I would be inclined to close this report.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,240

Post » Fri Nov 25, 2016 3:35 am

My iOS CAPX that I've sent to you, does not use any third party plugins.

The problem is squarely due to the previous Music "work around" code.

In c2runtime.js

if (this.runtime.isWKWebView)
playMusicAsSoundWorkaround = true;

Changing to false; fixes the random crash bug. As @IJCT has noted, doing this also fixed his lack of audio problems.

ie. With iOS10, there is no longer a need for prior hacks to get music to work, and the presence of such workarounds is now causing conflict.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Fri Nov 25, 2016 10:56 am

That workaround is necessary for some other audio features to work on iOS. So I'd rather fix it as it is, rather than playing whack-a-mole trading one set of issues for another.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,240

Post » Fri Nov 25, 2016 11:48 am

Look, I understand your pain, iOS constantly changes the way it handles such basic features it's ridiculous.

But you have a clearer idea where to start to fix it once and for all. Make it work for iOS 10+ if you have to pick & choose, since iOS9 or older are a smaller segment with each day.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Thu Jan 05, 2017 6:20 pm

Any update on this? we have 5 apps out that depends heavily on audio. Holy crap..
B
37
S
9
G
8
Posts: 541
Reputation: 8,554

Post » Thu Jan 05, 2017 8:32 pm

Even with this fix, im still getting a crash at load. Anyone else have this problem?
B
37
S
9
G
8
Posts: 541
Reputation: 8,554

Post » Sun Jan 15, 2017 10:05 pm

Any updates as to when we can expect to have working sounds and music on iOS again??
B
37
S
9
G
8
Posts: 541
Reputation: 8,554

Post » Thu Jan 19, 2017 6:11 pm

I previously asked for a .capx that reproduces the issue without any third-party plugins, as per the usual bug report requirements to make it as likely as possible that we can resolve the issue. As far as I can see, nobody has provided one, so there is very little we can do until then.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,240

Post » Fri Jan 20, 2017 11:22 pm

xanxion wrote:Any updates as to when we can expect to have working sounds and music on iOS again??


If you have a problem I suggest you email your CAPX to Ashley so it helps him debug it quickly.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Thu Feb 02, 2017 5:07 pm

@ashley

is there somewhere i can send the capx privately?
B
37
S
9
G
8
Posts: 541
Reputation: 8,554

PreviousNext

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest