Boxels's Recent Forum Activity

  • Boxels - possibly, could you try it and see?

    Doing so now.

    My first try was to see if it worked by disabling the "use WKWebView" in the Cordova export options.

    I will try these methods separately.

    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...

  • Ashley thank you. Sent you email with capx. Was this potentially fixed in the update today?

    I will try your suggestion in the thread you posted above with possibly the same error.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Where do we submit the capx file - we are learning as we go. Thank you.

  • Bug submission here with updates:

  • I can confirm this error, if I find a solution, I will update it here.

    I couldn´t find any hardcoded ip adresses though, are you sure the preview is related to the error?

    First off, Thank you for the reply, there is hope and we are not crazy as of yet!

    We believe (remember we are noob programmers, which is why we use Construct2) it is preview server related due to our only seeing this IOS issue after enabling that option in preferences (whatever it adds to our build for cordova?) and apple insisting we add both iPV6 and iPV4 addresses to fix the bug...

    apple's response from this sudden appearance of this new bug...

    viewtopic.php?f=151&t=189857

    We have reformatted our PC with a fresh windows 10 copy and a new Construct2 install (just to make sure it isn't related to settings in some rogue windows file from previous construct install) and the issue continues, suggesting that once the preference is enabled, it does something in the code (from our naive non-programmer perspective) no matter if we disable it afterwards and open the project on a fresh install of both Construct 2 and windows. It worked PERFECTLY BEFORE on IOS without issues.

    I will be tackling this again today, and wanted to try side by side in beta Construct 3, but it says we can't upgrade our construct 3 subscription as of yet? so free edition doesn't help us there to test.

    The last thing I'll test (a huge annoyance) is to redo the entire app in a new project, fresh install of Construct2 and Windows, without ever enabling that option to see if the error never pops up (due to never enabling preview server in preferences).

    I will also see what we get with your suggestion but am brand new to this WKWebView thing... and trying to make sense (as a noob programmer) of these threads to see if they are related to what we are seeing:

    issue-with-wkwebview-on-ios_t171504

    and...

    https://www.scirra.com/blog/ashley/25/h ... -wkwebview

    All noob explanations welcome. Thanks in advance. Will return and report after trying with disabled WKWebView on cordova export

  • Problem Description

    Exporting to Cordova in construct 2 after enabling the LOCAL PREVIEW SERVER (ip address), run as admin preference, hard codes the IPv4 address somewhere in the export, which hard coded IPv4 address causes an IOS app to show the following error whenever your app is started on an IOS device.

    [quote:uqvbpsrv]error starting local server: server is already up

    Steps to Reproduce Bug

    • Start any Construct 2 project, save it, and get it ready for export.
    • Enable the LOCAL PREVIEW SERVER in Construct2 preferences with a local ip address.
    • Export Cordova files, prepare and submit to itunes connect for development or production.
    • attempt to open the app... error shows.

    Observed Result

    You can upload the same code to any other store (ie. chrome, android, amazon, html5,) and it works fine as shown below:

    https://alphabetocean.boxels.com/

    There was ZERO issues and this error didn't come up ever before enabling the LOCAL PREVIEW SERVER preference. No matter what we do now (turning off local server), this error persists for IOS submissions.

    Expected Result

    As experienced before enabling local preview server, it should work on IOS devices without errors.

    Operating System and Service Pack

    IOS

    Construct 2 Version ID

    Release 239 64 bit

    Apple's response each time this error appears now

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

    Specifically, your app displayed an error message on launch.

    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

  • I narrowed down this bug and found it is related entirely to enabling the LOCAL network server for testing on local network. This has hard coded an IPv4 address into the code somewhere, and this hard coded IPv4 address is what apple is crying about, as I have to hardcode an IPv6 as well if I have a IPv4 hard coded into the code.

    I've disabled the local network, turned it off in preferences (back to LOCALHOST) but this still occurs now with every Cordova export... please help. what to do. where is it in the exported code to remove or change?!?

  • We built a successful ios app using adobe phone gap and construct 2 without issues. Then, all the sudden, after one update we continually get this error any time we open the IOS app on any device...

    [quote:2drkhq2k]error starting local server: server is already up

    That error shows in a dialogue box and the app never runs thereafter.

    What is causing this bug for IOS? We suspect it was when we enabled the ADMIN LOCAL SERVER option in construct2 to view on the local network, but have not been able to reverse it.

    Our app does not require any server anything, it is a single player non-internet based app.

    game works fine on everything but IOS now due to this error... ugh!

    https://alphabetocean.boxels.com

  • Hello, getting that error today, is it down at this time?

Boxels's avatar

Boxels

Early Adopter

Member since 24 Feb, 2017

Twitter
Boxels has 2 followers

Connect with Boxels

Trophy Case

  • 7-Year Club
  • Entrepreneur Sold something in the asset store
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies