Very low performance with WKWebView

0 favourites
  • 9 posts
From the Asset Store
High Low is a casino game using luck and points accumulation.
  • Problem Description

    Intel XDK 3759, Cordova CLI any 6.2.0 or 5.4.1, export to iOs 9 with WKWebView

    behaves like WKWebView is not present at all.

    Attach a Capx

    https://drive.google.com/open?id=0B14pU ... ERXdWtycG8

    Description of Capx

    One layout with 8 sprites and 8 text objects.

    On layout start ->

    project file "plank1.png" is loaded into the sprites

    project file "text.txt" is loaded into the texts

    Every 2 seconds layout restarted

    Steps to Reproduce Bug

    • Export from Construct with enabled WKWebView option
    • Remove from the resulting folder files intelxdk.config.additions.xml and Newproject.xdk
    • Create new Intel XDK projects
    • Via Plugin Management add all the necessary plug-ins including WKWebView, File and Httpd
    • Export to iOs
    • Run in sandbox mode on iphone 6 or ipad 3 with ios 9

    Observed Result

    On every layout restart, noticeably slow loading project files

    Expected Result

    Invisibly fast loading of files like in android with standart Webview

    Affected Browsers

    • Safari: problem occurs
    • Chrome: all ok

    Operating System and Service Pack

    Windows 8.1

    Construct 2 Version ID

    241 beta

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi! HNY!

    Behavior of my another project in various technologies:

    iPad:

    https://youtu.be/aDoUBmsMraA

    iPhone:

    https://youtu.be/FoyZgaCYgG0

    Sony:

    https://youtu.be/rKdxqCd5Pc8

    It looks like wkwebview does not switch on. Any actions happens very slowly in all my projects. Has anyone experienced this?

    I could use a stable release 239, but it can't load project files via url that is actively used in the project.

    Hopefully this will be fixed in the upcoming stable release.

  • Another tests of my heavy project.

    iPad3 ios9:

    WKWebView, no WKWebView - terrible overall performance

    preview via Wi-Fi - low performance

    iPhone6 ios9:

    WKWebView, no WKWebView - very slow loading of files, admissible performance of rest things

    preview via Wi-Fi - admissible performance

    Sony Z1 Compact

    WebView - good performance

    preview via Wi-Fi - very good performance

    In general, performance in IOS (after the export ) is disgusting.

    I would like to see the official comment about what is happening and is there hope.

  • What should I do to get the answer here?

    I'm writing year and a half in the Construct 2, and since the spring of 2016 i do attempts to release on iOS.

    Unsuccessfully. One technical problem is replaced by another. It extremely disappoints.

    And here don't answer.

  • What should I do to get the answer here?

    I'm writing year and a half in the Construct 2, and since the spring of 2016 i do attempts to release on iOS.

    Unsuccessfully. One technical problem is replaced by another. It extremely disappoints.

    And here don't answer.

    Same stuff with perfomance. More like battery overheating on ios. But im using Cordova CLI 4+, on export i switch off WKWebView in Construct and use cordova plugin cordova-plugin-wkwebview-engine on build instead. WkWebView works, but its not enough

  • Remove from the resulting folder files intelxdk.config.additions.xml and Newproject.xdk

    In this step, you remove the files that specify to use WKWebView. So you are effectively disabling WKWebView yourself. So it should not be surprising the resulting app does not use WKWebView! If you try to add the settings yourself afterwards, it's possible you made a mistake. There's no reason to do that anyway, C2 exports all the necessary settings to use WKWebView.

    Closing as not a bug.

  • Ashley

    For a moment it seemed to me ... but not, unfortunately, you're wrong.

    Any variants of the builds have low performance on iOs. And ok on android.

    1.

    In this step, you remove the files that specify to use WKWebView. So you are effectively disabling WKWebView yourself.

    For the specification of plug-ins is necessary and sufficient config.xml file. I did not delete it. I removed files relating solely to configure IntelXDK project, and created them again in IntelXDK self. Besides the convenience, what's the difference where to create them?

    What about PhoneGap build which does not contain *.xdk in principle?

    By your logic, it is impossible to enable WkWebView through PhoneGap.

    2.

    Via Plugin Management add all the necessary plug-ins including WKWebView, File and Httpd

    In this step i return all information about WkWebView that is contained in *.xdk file from Construct2. This a procedure of adding plug-ins officially recommended by IntelXDK. Could you explain in more detail why the addition of WkWebView such a way must not work?

    3.

    I tried through Construct2 *.xdk file - absolutly same result.

    Opened as a bug:

  • The Intel XDK ignores config.xml. C2 puts the WKWebView configuration in to the Intel XDK files that you said you deleted. Why are you deleting them?

    You can also upload it to PhoneGap Build, where it does use config.xml, which should also specify to use WKWebView.

  • There was a period when "Use new Intel XDK format" did not work and I have a habit to create a project from scratch and add plug-ins manually. Then there was a period when "Use new Intel XDK format" worked fine, but recently IntelXDK started to swear on some third-party plugins, and I came back to the manual method. Nevertheless, Intel, in theory, should properly configure WkWebView when manually adding it. And working with *.xdk come from the Construct2 also does not give a result. And PhoneGap build too.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)