I need disable a recent button. It is possible to implement this functionality when using react native? About disable recent button when use react native i didn't find any thing. The difficulty is that my project uses expo, therefore i don't can use native modules Image for the button which must to be disabled
Asked
Active
Viewed 398 times
1 Answers
0
As I understand your question, you want to hide android navigation bar. There are 2 ways to achieve that:
Use React Native libraries: There are some libraries supporting you to hide navigation bar.
Write a simple native module to do that: First, you need to read React Native document about Native Modules for Android. If you know how to use that, you can start searching: "android hide navigation bar". For example: How to hide navigation bar permanently in android activity?
In case you have any problems about creating native modules, just provide information about them.

Minh Dao
- 827
- 8
- 21
-
Thanks for the answer. But i need disable phone button (hardware button). For understanding the question, I added an image in description the question. – Sergey Nov 20 '19 at 10:06
-
Ok, I have update my answer. Just comment here if I misunderstood your problem. – Minh Dao Nov 20 '19 at 16:05