react-native-root-view-background-color
Getting started
RN >= 0.60
If you are using RN >= 0.60, only run pod install
from the ios directory. Then rebuild your project.
RN < 0.60
For RN < 0.60, you need to link the dependency using react-native link
:
react-native link react-native-root-view-background-color
Then run pod install
from the ios directory and rebuild your project.
Usage
; // Set the Root View background color to blackRootViewBackgroundColor; // Set the Root View background color to whiteRootViewBackgroundColor;
Note: Requires minSdkVersion = 21
or newer.