I am trying to create a simple react native application. I need to run the app in fullscreen mode. Is there a way to do this?
I need to remove/hide the bottom buttons.
I am doing this for Android devices.
|---------------|
| |
| screen |
| |
-----------------
| <| O [ ] | <--- I need to remove these buttons!
-----------------
React Native doesn’t provide a way to hide the android navigation bar directly, you would have to create a native module that use the Android Immersive mode introduced in Android 4.4 or use an existing module that do just that, and I found only one: react-native-full-screen
Answer:
In your project’s android manifest file, select fullScreen activity.
Tags: androidandroid