Can't hide navigation bar on cell phone

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • With build 292.10 I can no longer hide the navigation bar correctly on my Huawei cell phone.

    It does not hide the top navigation bar - only the one on the side - and the minute I tap anything the one on the side reappears. This is basically the issue I have with tablets I test on and why I always have to display the navigation bar with tablets. On 292.8 I couldn't hide the navigation bar on a tablet - now I can do that again - but now the problem has appeared on a cell phone.

    Attached:

    Screenshot ....095742 shows that the top navigation bar is still showing
    Screenshot ....095753 shows what happens when I tap the screen
    .mfa used to create the app
    .apk Please login to see this link.

  • No, that's not the problem.

    I am using the Android and Android + objects to allow the user to switch between full screen and window mode i.e. hide the navigation bar or not. In 291.6 this works 100%

    Some tablets don't allow you to hide the navigation bar - they will keep on trying to display it. The settings, therefore to show the navigation bar is correct, and the code segment to hide the navigation bar on a cellphone no longer works in 292.10 - it worked prior to this version.

    Casual games: Please login to see this link.

  • I tried the settings the other way round -

    If it don't tick display status bar then my cell phone will open correctly in full screen mode but I'm unable to switch to window mode - the most I could do was get the navigation bar to show - but it wouldn't show the title/action bar (I did include that in the code.)

    On the tablet it will open full screen and completely ignore the command: if this is a table show the navigation bar -with the result that the moment you tap the screen the navigation bar pops up over the game. However, if I put in an object the user can tap - then it shows only the navigation bar. Here I also had no way of showing the action / title bar.

    Either way, this needs to be fixed.

    Casual games: Please login to see this link.

  • in your case I made a small change to

    [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]* Start of Frame
    + NOT AndroidPlus: Is Device a tablet?
    Android object : Dim Navigation bar (I normally add this)
    Android object : Show Navigation bar

    [/FONT]
    [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]* Start of Frame
    + AndroidPlus: Is Device a tablet?
    Android object : Dim Navigation bar

    (I normally add this)


    Android object : Hide Navigation bar


    OR


    [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]* Start of Frame
    + NOT AndroidPlus: Is Device a tablet?
    Android object : Show Navigation bar[/FONT]
    [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]* Start of Frame
    + AndroidPlus: Is Device a tablet?
    Android object : Hide Navigation bar[/FONT]
    [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif][/FONT]

    NOTE: the verification "is device a tablet" or phones was inverted, since tablets are the one with navigation bar and just few phones have navigation bar, so i did the change here to test and seems to be working.

    Remember this will only be valid until user press, touch, tap the screen


    [/FONT]
    [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif][/FONT]
    [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]Please login to see this link.


    small video

    [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]Please login to see this link.]
    [/FONT]

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • Inverting this creates chaos my cell phone - I can't then ever get it to full screen and it keeps hiding / displaying the navigation bar every time I tap something. I can't use the code the way you've given it.

    All my Android games have this code exactly as I gave it - and up to 291.6 and I think even up to 292.6 it worked on every device I had tested it on. 292.8 was broken on my tablet but worked correctly on my phone. Now 292.10 works correctly on my tablet but is broken on my phone. I don't think that has anything to do with the way I'm writing the events.

    Casual games: Please login to see this link.

  • sorry I think is something in your code and the action code as you used it, if it worked in the past by was an omission of the android rules, but the action work as expected where the navigation bar it is show, also if you are hiding you must know that the bar will come when you get the focus as you may read in teh android page.

    Regards,


    Fernando Vivolo

    ... new things are coming ...

    Edited once, last by Fernando (July 3, 2019 at 4:05 AM).

  • what version you are using right now? Same started happening after 292.10

    Also Admob is not functioning properly but my main problem is like yours, suddenly navigation bar and title bar cannot be hide.

  • This happened on a cell phone from version 292.10 - but on 292.8 there were issues with a tablet.

    It seems they've changed the navigation bar to be for an app - not the immersive full screen experience you need for a game. The documentation - two pages further from the link Fernando provided - gives you 3 options to hide the navigation and title bars for games so they don't keep popping up - and one for apps - and we now have the one for apps and none of the ones for games.

    It breaks every single game I've ever written because you can't play it - the taskbar pops up over parts of the game - sometimes the most critical part of the game as well. I just can't use Fusion any more.

    Casual games: Please login to see this link.

  • what version you are using right now? Same started happening after 292.10

    Also Admob is not functioning properly but my main problem is like yours, suddenly navigation bar and title bar cannot be hide.


    check if this happens in interstitial? or when you display a video reward, in my test app this was not happening.

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • Quote

    It seems they've changed the navigation bar to be for an app - not the immersive full screen experience you need for a game. The documentation - two pages further from the link Fernando provided - gives you 3 options to hide the navigation and title bars for games so they don't keep popping up - and one for apps - and we now have the one for apps and none of the ones for games.


    FROM the page i post in previous post

    Note the following:

    • With this approach, touching anywhere on the screen causes the navigation bar (and status bar) to reappear and remain visible. The user interaction causes the flags to be be cleared.

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • FROM the page i post in previous post

    Note the following:

    • With this approach, touching anywhere on the screen causes the navigation bar (and status bar) to reappear and remain visible. The user interaction causes the flags to be be cleared.

    Yes - on that page of Android documentation it says that. But if you go a few pages past that it says that the approach will not work when you're creating immersive experiences like games / videos etc. And then goes on to explain how to hide the navigation and other bars so that they don't pop up again - and Fusion is mostly used for games. It makes the most sense to use the method designed for games. You're picking 1 single page and basing your argument on that single page and not reading the rest that changes what that page says.

    Every time I press a key on my cell phone the navigation bar pops up over the game - the game does not resize, it does not pause - it's just simply becomes unplayable because a part of the screen that you need is now covered by the navigation bar and there's nothing you can do to make it go away. It doesn't matter what setting I use - this happens. Thereafter the navigation bar does not go away - and no command I have inside of Fusion will make it go away.

    Your settings like stretch to fill etc. does not take that into account - it does not adjust the window - it just allows the navigation bar to sit on top of the game and hide what the user needs to see. It makes the game unplayable.

    That was not the case prior to version 292.10.

    Are you going to wait until everyone else starts complaining about getting 1 star reviews because their games are now unplayable on Chinese devices like Huawei before you decide there's a problem here?

    Are there more important people that have to report this before you do anything about it?

    I cannot release anything with 292.10 - and certainly I cannot release anything with a 292 version prior to .10 either. What now?

    Casual games: Please login to see this link.

  • I need to see an apk for me to check here, also please add teh specification of teh device you are using to test

    Quote

    Your settings like stretch to fill etc. does not take that into account - it does not adjust the window - it just allows the navigation bar to sit on top of the game and hide what the user needs to see. It makes the game unplayable.

    I will test with your apk this behavior


    About the rest , I don't like your tone and the way you express, so please keep thing polite in this forum, thank you.

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • please do and let me know, strange is that api 19 have immersive mode, is your apk fullscreen?

    yes,

    Actually, I haven't changed anything on my build and I always test my apks on my old android phone 4.4.2 (target level) but built them with API 27,28
    This has started happening after I upgraded to 292.10 (I was using steam version) Now I switched back to the regular client and downgraded to 292.9. Still having the white blank screen issue on my old phone.I dont understand what exactly causes this. I need to make some test on different OS versions and API levels

  • please do and let me know, strange is that api 19 have immersive mode, is your apk fullscreen?

    Hi Fernando,

    I double checked everything and compared to my older version apk settings.

    I tried API 26, 27 and 28 where I specifically tested the apk on API 26 (Android 8) smartphone.

    fusion version I use is 292.9 (downgraded from 292.10 because I had the same issues)

    Event Editor has Always -> Hide Navigation & Title Bar which was working so fine on previous builds.

    Whenever I touch on an object, the navigation bar pops up and then also Admob object stops functioning.

    Plus Admob object doesnt show Interst. and Rewarded Video (was showing in my previous builds) Banner is fine but maybe calling it from cache because it is always the same Ad running.

  • Quote

    Event Editor has

    Always -> Hide Navigation & Title Bar

    which was working so fine on previous builds.

    this is why I made the changes some report where made that this was not working in all devices, and did not make sense to work

    I will check if there is a safe mode to avoid other user to complain about this.


    when ready I will let you know


    Quote

    Plus Admob object doesnt show Interst. and Rewarded Video (was showing in my previous builds) Banner is fine but maybe calling it from cache because it is always the same Ad running.

    did you check your account?
    are you collecting the GDPR consent from user as requested by EU?
    do you have a policy url?

    you are located as mentioned in your badge, right? therefore you are EU and need to fulfill this.

    Regards,


    Fernando Vivolo

    ... new things are coming ...

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!