Detect Soft Navigation Keys in Android
See original GitHub issueDescription
Implement something like DeviceInfo.areSoftwareKeysEnabled()
or DeviceInfo.hasSoftNavigationKeysEnabled()
to detect whether software keys are enabled in an android device.
Use Case
To detect whether a device has hardware keys enabled or software keys enabled. This can be a bit of an issue when it comes to designing for all kinds of devices. These days with the advent of notches and curved devices, handling this is super important
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to detect bottom soft navigation bar available in android ...
I am trying to determine soft navigation bar through the android program. I didn't find straight way to determine. Is there anyway to...
Read more >Detect soft navigation bar availability in android device ...
Android : Detect soft navigation bar availability in android device progmatically?
Read more >Check if a device has software or hardware navigation buttons
I want to know that is there any way to find that the device has internal navigation bar or external navigation bar ??...
Read more >Detecting Android soft navigation keys in React Native - Medium
The simple solution is to only apply the styles described in step 2 above if the device has soft keys. The only real...
Read more >Detect Soft Navigation Keys in Android · Issue #511 - GitHub
Implement something like DeviceInfo.areSoftwareKeysEnabled() or DeviceInfo.hasSoftNavigationKeysEnabled() to detect whether software keys are ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
When I looked at this last time, the referenced package seemed active. Now it seems dead, which is new information from my perspective. I don’t want to duplicate work but I won’t obstruct making things work, if that makes sense?
I would be open to ingesting that code if you posted an issue there saying “This repository appears dormant, any objections to hosting the functionality in react-native-device-info?” and proposed a PR here. I’d be happy to make any maintainers there maintainers here etc - the idea is friendly maintenance of features people need, not some icky power play in other words, we all have enough to do without maintaining more code and politics is not even on my list of things to dabble in 😅
This looks like a great find @manuhook - nice! I see no reason to duplicate the work in that package, as it seems very thorough and with recent updates. I’m closing this but please holler if you think I’m wrong