IPv4 hard coded IP in Cordova export, throws IOS error

Bugs will be moved here once resolved.

Post » Thu Apr 20, 2017 10:34 am

@WackyToaster - can you test r244 and the four combinations @Boxels posted and let me know the results?
Scirra Founder
B
395
S
233
G
88
Posts: 24,376
Reputation: 193,842

Post » Thu Apr 20, 2017 10:38 am

@WackyToaster where can I view my plugin list to compare?
B
11
S
7
G
1
Posts: 20
Reputation: 1,675

Post » Thu Apr 20, 2017 4:50 pm

@Ashley I personally don´t have an Iphone so testing can be a bit complicated, I can try with the emulator though.

@Boxels Depends on what you use to build your project. I use cordova CLI so I use windows cmd and just input "cordova plugin ls"
B
16
S
3
Posts: 69
Reputation: 1,048

Post » Thu Apr 20, 2017 5:10 pm

Boxels wrote:1. Disable WKWebView (myapp 1.38) from previous Construct 2
2. Cordova Export WKWebView enabled on Construct 2 update (R 244 64-bit built at 15:05:13 on Apr 19 2017) (myapp 1.39)

If method 2 above doesn't fix it, I'll do this one.
3. Cordova Export WKWebView enabled on R244 and delete the line that says:
<plugin name="cordova-plugin-httpd" />

4. Corodova Export WKWebView disabled on R244 and delete line...

#2 did not work, same bug. So update r244 does not fix this issue.
Attempting other 3 options next.
B
11
S
7
G
1
Posts: 20
Reputation: 1,675

Post » Thu Apr 20, 2017 5:18 pm

WackyToaster wrote:@Ashley I personally don´t have an Iphone so testing can be a bit complicated, I can try with the emulator though.

@Boxels Depends on what you use to build your project. I use cordova CLI so I use windows cmd and just input "cordova plugin ls"

OK.
I'm on an iMac OS 10.12.4 (sierra)
Using Construct 2 on Windows 10 or 7 (have two pcs)
Using PhoneGap from adobe (works perfectly for a learning noob) to build for IOS, Android, Windows.

I have iPad Air, iPad 2, iPhone 5, iPad Pro to test on for IOS apps.
I have submitted two apps outside construct2 so far. This app worked PERFECTLY submitting to apple before I enabled Server Preview preference... since doing that step I cannot get past this bug.

If you are getting the same issue for IOS, it completely takes out the issue being with adobe phonegap or cordova CLI and pinpoints it within Construct2 and IOS at some crossroad.
B
11
S
7
G
1
Posts: 20
Reputation: 1,675

Post » Thu Apr 20, 2017 7:14 pm

Since this bug has practically no documentation on it and the error is called by engine code that c2 generated it's likely that c2 is the root of the problem or one of the plugins. Do I understand this right that cordova/wkwebview creates a local server on localhost in order to run the app? If that's the case the error indicates that for some reason the server gets created twice. How I see it is that wkwebview creates the server and one of the other webview plugins does the same. If I manage to get the error appear in the emulator I will post the log here.
B
16
S
3
Posts: 69
Reputation: 1,048

Post » Thu Apr 20, 2017 10:39 pm

Boxels wrote:1. Disable WKWebView (myapp 1.38) from previous Construct 2
2. Cordova Export WKWebView enabled on Construct 2 update (R 244 64-bit built at 15:05:13 on Apr 19 2017) (myapp 1.39)

If method 2 above doesn't fix it, I'll do this one.
3. Cordova Export WKWebView enabled on R244 and delete the line that says:
<plugin name="cordova-plugin-httpd" />


4. Corodova Export WKWebView disabled on R244 and delete line...

#3 did not work, same bug. So update removing that line of code in config.xml does not fix issue.
Attempting other 2 options next.
B
11
S
7
G
1
Posts: 20
Reputation: 1,675

Post » Thu Apr 20, 2017 11:40 pm

Now apple says it was a redirect loop, which makes it even stranger, but they still insist it is related to IPV6 support. (maybe due to removing that line of code)

Hello,

Thank you for your resubmission.

Upon further review, we found that your app does not comply with the following guideline:

Guideline 2.1 - Performance


We discovered one or more bugs in your app when reviewed on iPhone and iPad running iOS 10.3.1 on Wi-Fi connected to an IPv6 network.

Specifically, after briefly displaying a loading screen, your app returned to the main screen after we tapped the Play button.

Please see attached screenshots for details.

Next Steps

To resolve this issue, please run your app on a device while connected to an IPv6 network (all apps must support IPv6) to identify any issues, then revise and resubmit your app for review.

If we misunderstood the intended behavior of your app, please reply to this message in Resolution Center to provide information on how these features were intended to work.

For new apps, uninstall all previous versions of your app from a device, then install and follow the steps to reproduce the issue. For updates, install the new version as an update to the previous version, then follow the steps to reproduce the issue.

Resources

For information about supporting IPv6 Networks, please review Supporting IPv6 DNS64/NAT64 Networks and About Networking.

Best regards,

App Store Review
B
11
S
7
G
1
Posts: 20
Reputation: 1,675

Post » Fri Apr 21, 2017 10:06 am

@Boxels - when you say it still happens, is it absolutely identical to the error you posted originally or is it exactly the same?

In r244 I literally deleted the code that displays that error, so it ought to be impossible to appear in that form in r244+.
Scirra Founder
B
395
S
233
G
88
Posts: 24,376
Reputation: 193,842

Post » Fri Apr 21, 2017 2:46 pm

Ashley wrote:@Boxels - when you say it still happens, is it absolutely identical to the error you posted originally or is it exactly the same?

In r244 I literally deleted the code that displays that error, so it ought to be impossible to appear in that form in r244+.

My apologies.
In the message I got from apple, it is different in that they stated exactly the following for each test.
--------------------------
TEST #3 r244 WKWebView enabled, deleted code in config.xml <plugin name="cordova-plugin-httpd" />
"Specifically, after briefly displaying a loading screen, your app returned to the main screen after we tapped the Play button."

https://boxels.com/images/bugs/attachment-6478607287074942353Screenshot-0420-145921.png
https://boxels.com/images/bugs/attachment-9026141553394574904Screenshot-0420-145926.png

--------------------------
TEST #2 r244 WKWebView enabled
"Specifically, no action occurred when the Play button was tapped."

https://boxels.com/images/bugs/attachment-2855466716378865054Screenshot-0420-085004.png
--------------------------
So YES, the error message shown on the OP of this thread is gone entirely with the r244 update. It almost sounds like a LAYOUT CHANGE ISSUE??? now that the other error is gone?

Keep in mind every other export works (scirra arcade, html5, chrome os, amazon, etc. https://alphabetocean.boxels.com/ ) Just IOS since I enabled that preview server (could be entirely coincidental). @Ashley did you get my email with the capx file?

I have two more tests to go. I would LOVE any help with a tutorial on how to go from Construct 2 to PhoneGap (or anything like it) to development test on my devices, as I am still learning and it would be so much easier to test on my own devices rather than wait for apple's reply. :shock: Yes, I'm a noob at this... but willing to learn. (and I'm a php, mysql, and web developer if you can believe that)
--------------------------
Apple always states the following at end of each rejected app:
Next Steps

To resolve this issue, please run your app on a device while connected to an IPv6 network (all apps must support IPv6) to identify any issues, then revise and resubmit your app for review.

If we misunderstood the intended behavior of your app, please reply to this message in Resolution Center to provide information on how these features were intended to work.

For new apps, uninstall all previous versions of your app from a device, then install and follow the steps to reproduce the issue. For updates, install the new version as an update to the previous version, then follow the steps to reproduce the issue.

Resources

For information about supporting IPv6 Networks, please review Supporting IPv6 DNS64/NAT64 Networks and About Networking ( https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW1 ).

Best regards,

App Store Review
Last edited by Boxels on Fri Apr 21, 2017 2:55 pm, edited 2 times in total.
B
11
S
7
G
1
Posts: 20
Reputation: 1,675

PreviousNext

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 11 guests