"Hide statusbar" android phonegap build "black bar"

Report Construct 2 bugs here.

Post » Sun Oct 29, 2017 4:17 pm

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 ____
'Image'Image'Image'Image
B
28
S
11
G
3
Posts: 114
Reputation: 3,885

Post » Sun Oct 29, 2017 7:12 pm

if with Crosswalk works, maybe it is not a R247 bug.. maybe some incompatibility with Phonegap? have you try with Cordova CLI?
sorry my bad english
B
20
S
8
G
8
Posts: 598
Reputation: 6,948

Post » Sun Oct 29, 2017 11:43 pm

NN81 wrote: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.
'Image'Image'Image'Image
B
28
S
11
G
3
Posts: 114
Reputation: 3,885


Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests