Open francisrod01 opened 6 years ago
I have the same problem
This feature whilst documented on master hasn't yet been released in v3.0.6. If you need to use it consider adding the following to your package.json
dependencies.
"react-native-splash-screen": "crazycodeboy/react-native-splash-screen#ddca267"
@imranolas yeah, I found it, thanks
Same problem here, please release it properly. I was able to install the latest by straight up installing master.
Up !
up
I'm still getting this error on 3.0.7, which is weird because it should include the changes on master. I still have to pull straight from git to get this to work.
What gives?
Still getting this error on 3.2.0
Getting similar error on 3.2.0
error: no suitable method found for show(<anonymous ReactActivityDelegate>,int)
Got from MainActivity:
@Override
protected ReactActivityDelegate createReactActivityDelegate() {
return new ReactActivityDelegate(this, getMainComponentName()) {
@Override
protected ReactRootView createRootView() {
return new RNGestureHandlerEnabledRootView(MainActivity.this);
}
@Override
protected void onCreate(Bundle savedInstanceState) {
SplashScreen.show(this, R.style.SplashScreenTheme);
super.onCreate(savedInstanceState);
}
};
}
I followed the implementation for android platform showed on README.md file.
Environment:
OS: Linux 3.16 Node: 9.3.0 Yarn: 1.3.2 npm: 5.5.1 Watchman: 4.9.0 Xcode: N/A Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed)
react: 16.0.0 => 16.0.0 react-native: 0.51.0 => 0.51.0
version of
react-native-splash-screen
MainActivity.java
compiling...
and output below:
But in my colors.xml
SplashScreenTheme
exists.colors.xml
styles.xml