react-nativeexpo

Change navigation bar color


I know it is possible since API 21 to change the color of the navigation bar. I have looked at the documentation of React Native but I can not find a way to do this.

The only way I know is by creating a native module, but that does not seem like a good solution since I am using Expo.

Is there a built-in way to do this?


Solution

  • Well I had made one plugin for that it is use full to achieve what you want.

    https://github.com/BhavanPatel/react-native-navbar-color

    https://www.npmjs.com/package/react-native-navbar-color