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!
-----------------
I created a package with fullscreen and more.
react-native-system-navigation-bar
Install
yarn add react-native-system-navigation-bar
or
npm install react-native-system-navigation-bar
Links
https://www.npmjs.com/package/react-native-system-navigation-bar
https://github.com/kadiraydinli/react-native-system-navigation-bar
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With