Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Android 10 soft navigation key problem
Started by ansteysimon Sep 30 2019 01:13 PM

13 replies to this topic
android navigation softkey
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

ansteysimon

[GLOBAL: userInfoPane.html]
ansteysimon
  • Observer

  • 3 posts
  • Corona SDK

Has anyone else had issues with Android 10 soft key navigation?

 

It seems that on Android 10 the tab bar I place at the bottom of the screen using display.contentHeight - display.screenOriginY is now over the top of the system navigation buttons. Pressing the navigation bar now generates system navigation making the app unusable...

 

How can I fix this other than hiding the system soft keys?

 

Thanks

Simon.



[TOPIC: post.html]
#2

lmgualandi

[GLOBAL: userInfoPane.html]
lmgualandi
  • Enthusiast

  • 89 posts
  • Corona SDK

Indeed I had a user complaint about buttons on the bottom of the screen not working. It was on Android 10 on a Pixel 3 Google phone, which is not so common. Couldn't figure out why or reproduce it in my devices, but I imagined it was something with the navigation buttons

[TOPIC: post.html]
#3

ansteysimon

[GLOBAL: userInfoPane.html]
ansteysimon
  • Observer

  • 3 posts
  • Corona SDK

yes this was Pixel 2, Android version 10. The soft keys overlay the tab bar at the bottom and get events first....



[TOPIC: post.html]
#4

lmgualandi

[GLOBAL: userInfoPane.html]
lmgualandi
  • Enthusiast

  • 89 posts
  • Corona SDK

Makes sense.
I forgot to mention but she said the problem started only after my first 64 bit update.
Any comments from the Corona team?

[TOPIC: post.html]
#5

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,392 posts
  • Enterprise

This is the first we've heard of this. Please create a simple sample app that demonstrates the issue. It should be a complete project (main.lua, config.lua, build.settings, any assets needed to build, install and run) and put it in a .zip file and use the Report A Bug link at the top of the page and submit a bug report.

 

Rob



[TOPIC: post.html]
#6

ansteysimon

[GLOBAL: userInfoPane.html]
ansteysimon
  • Observer

  • 3 posts
  • Corona SDK

https://drive.google.com/open?id=1g0_3JL9jG-LKMXB9NIKVepTe67GOIDP2



[TOPIC: post.html]
#7

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,392 posts
  • Enterprise

Hi. The .zip file is just a screenshot (which you can post directly here). It's not a demo project that can download, build and run on a device. 

 

Rob



[TOPIC: post.html]
#8

naveen_pcs

[GLOBAL: userInfoPane.html]
naveen_pcs
  • Contributor

  • 267 posts
  • Corona SDK

Any update on this? Same thing in my app with users running Android 10. Can't tap the bottom part of the screen because that's where the soft buttons would usually be (even though I have them hidden).



[TOPIC: post.html]
#9

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,392 posts
  • Enterprise

I'm still waiting on a demo project that shows the issues.

 

Rob



[TOPIC: post.html]
#10

lmgualandi

[GLOBAL: userInfoPane.html]
lmgualandi
  • Enthusiast

  • 89 posts
  • Corona SDK

@naveenpcs what device did you experience the issue?

In my case I there's no point on a demo project since I couldn't replicate the bug, but I can share my build.settings

https://pastebin.com/FXcLiSJq



[TOPIC: post.html]
#11

tneilgardner

[GLOBAL: userInfoPane.html]
tneilgardner
  • Observer

  • 6 posts
  • Corona SDK

Have you tried describing your working area of display using the following.

 

local safeArea = display.newRect(
    display.safeScreenOriginX,
    display.safeScreenOriginY,
    display.safeActualContentWidth,
    display.safeActualContentHeight


[TOPIC: post.html]
#12

lmgualandi

[GLOBAL: userInfoPane.html]
lmgualandi
  • Enthusiast

  • 89 posts
  • Corona SDK

Yes, I already use the safe areas since iPhone X was released

[TOPIC: post.html]
#13

lmgualandi

[GLOBAL: userInfoPane.html]
lmgualandi
  • Enthusiast

  • 89 posts
  • Corona SDK

Hi,
Anybody still having this issue?

I didn't update my main game yet, which has literally 100x more downloads from the one that's giving the reports.

I can make a sample, but I just need someone with the devices to collaborate, as this is clearly happening in just specific Android 10 phones. At least Pixel Google phones.
@naveen_pcs, @ansteysimon ?

[TOPIC: post.html]
#14

egarayblas

[GLOBAL: userInfoPane.html]
egarayblas
  • Contributor

  • 108 posts
  • Corona SDK

I'm getting more and more reports on this issue as well. Seems to happen mostly on Google Pixel phones. Anyone find a fix yet?




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: android, navigation, softkey