Construct3 games not working when shown inside a Cordova InAppBrowser (iOS)

0 favourites
  • 3 posts
From the Asset Store
94 Inside buildings views - Isometric view - PNG transparent - 2048x2048
  • Hello,

    I have a Cordova app, which is basically an InAppBrowser (a Cordova plugin) that shows a link to my C3 game on my server (HTTPS)

    The InAppBrowser displays normal pages fine, and runs Construct2 games just fine (as far as I tested), but C3 games do not display.

    First the loading screen shows up, but without the Construct logo (loading bar moves fine, but very slow), Then a black screen ..

    My guess is that it is that something prevents loading files and assets.

    Is there something we can do? some attributes or permissions?

    Here is code of our Cordova page:

    <!DOCTYPE html>
     <meta charset="UTF-8">
     <title>My Game</title>
     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
     <link rel="stylesheet" href="../css/bootstrap.min.css">
     function CallAddress() {
    var ref ='', '_blank', 'location=yes');
     window.onload = CallAddress;
    <script type="text/javascript" src="../cordova.js"></script>
    <script type="text/javascript" src="../js/landscape.js"></script>


  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It should work - the Cordova app itself is loading the game in a webview. I'd check that InAppBrowser is using WKWebView and not the legacy UIWebView, which might cause some problems due to its age.

  • Thanks a lot ^_^

    adding wkwebview-engine plugin, then adding "usewkwebview=yes" to the options string did the trick!

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