"Hide statusbar" android phonegap build "black bar"

0 favourites
  • 3 posts
From the Asset Store
Easily generate many levels from a set of pre-built scenes (Construct 3 template)
  • Problem Description

    The problem did not appear in stable release r244 but it started happening in r246 and r247. Building for android using phonegap online build, causes black bar to appear randomly on the bottom of the screen. What is mostly frustrating about this problem is that it (seems to appear completely randomly). When you are connected to the internet it seems to happen more often than when you open the app offline (NOT REALLY SURE ABOUT THIS). The only thing that seems to fix the problem is adding the crosswalk plugin in the config.xml file, but that triples the size of my app (which im really trying to avoid). Initially i thought that the problem happened only when using the browser object in construct 2 but lately found out that it happens anyway, even though it seems to happen more rarely without the browser object (still not 100% sure about this). THE ONLY THING that removes the black bar is using the browser's action to go to link and than come back with the back button, that makes it full screen again, removing the black bar. **UPDATE** the "hide statusbar" option if checked during the export to cordova, seems to cause the problem!!!!

    Attach a Capx

    With browser (black bar can be removed after coming back from opened G.Play store window) https://drive.google.com/file/d/0B3l8Xj ... sp=sharing

    without browser https://drive.google.com/file/d/0B3l8Xj ... sp=sharing

    Description of Capx

    one of the capx files gives you the ability to go to store page using the browser object and when you come back to the app it removes the black bar if it has appeared. The other capx is jut to show that the problem occurs even without the browser object in the projec.

    Steps to Reproduce Bug

      [start new construct project in r246 or r247 and add or don't add browser object] [scale outer, portrait, uncheck everything but "hide statusbar" in export to cordova tab options, choose android 5 webview ] [build with phonegap]

    Observed Result

    screenshots with and without the black bar... https://drive.google.com/file/d/0B3l8Xj ... sp=sharing

    Expected Result

    https://drive.google.com/file/d/0B3l8Xj ... sp=sharing

    Affected Browsers

    • Chrome: (YES/NO)
    • FireFox: (YES/NO)
    • Internet Explorer: (YES/NO)

    Operating System and Service Pack

    ____ Your operating system and service pack ____

    Construct 2 Version ID

    ____Beta r247 ____

  • if with Crosswalk works, maybe it is not a R247 bug.. maybe some incompatibility with Phonegap? have you try with Cordova CLI?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • if with Crosswalk works, maybe it is not a R247 bug.. maybe some incompatibility with Phonegap? have you try with Cordova CLI?

    Havent tried with Cordova CLI and unfortunately, im not sure i have much time and patience to try it. But since im pretty sure it has to do with the "hide statusbar" option during the export, ill just have to use an old plugin that does that instead of construct.

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