react-native-splash-screen
react-native-splash-screen copied to clipboard
SplashScreen.show(this, R.style.SplashScreenTheme); was replaced
react-native-splash-screen version: ^3.3.0
I tried to use the command: SplashScreen.show(this, R.style.SplashScreenTheme);
, to color the statusbar but it is not recognized.
If I just use SplashScreen.show(this); it works everything normally, so I don't believe it's a configuration problem.
In android studio show this error message: Required type: boolean, Provided: int.
Basically the method I want to use does not exist or was not found. Only alternate versions.
Going into the SplashScreen
class code i found that there is a working method: show(final Activity activity, final int themeResId, final boolean fullScreen)
In the end, I realized that this is not a bug, just an outdated documentation. Please correct this detail for future users.
Sorry for my bad English, it's not my native language.
@duduCMT create a PR #562 , hoping it gets merged