Currently this library is not being maintained well and hence has developed many issues and the documents aren't up-to date.
https://github.com/react-native-community/discussions-and-proposals/issues/209#issuecomment-596195117
Anyone looking for an alternate Library:
https://github.com/zoontek/react-native-bootsplash
This library is required by many other libraries though. Hard to migrate.
Any migration guide?
Not sure you need a migration guide for just remove rn-splashscreen instructions backward from the README & follow the install instruction of bootsplah!
Reverted all changes from splash screen and then installed bootsplash, it's working fine.
bootsplash seems to be the best alternative
Unfortunately, react-native-bootsplash doesn't work with dynamic full screen designs for your iOS storyboard. It has a single use-case: You can add one small fixed-size image in the center (i.e. app logo) and you can pick a background color. That's not a lot when you consider supporting devices from 4 to 13 inch in both portrait and landscape.
I'd still prefer react-native-splash-screen to be supported.
@tomrossberlin sorry but you are wrong. The CLI make this logo+background by default, but you can totally edit the storyboard in Xcode like any native app (& same for Android).
@tomrossberlin sorry but you are wrong. The CLI make this logo+background by default, but you can totally edit the storyboard in Xcode like any native app (& same for Android).
Why would you make such a 'total' claim? We have a valid LaunchScreen.storyboard with a fullscreen background image, and 3 foreground elements placed with constraints so that they fit every screen size and both device orientations. That storyboard has been displayed correctly in a production app for a year, using react-native-splash-screen. Now, when migrated to react-native-bootsplash, that same storyboard appears to be cropped and zoomed for a moment halfway during launch.
Because I was somehow involved in rn-bootsplash development & I am using it with various configurations without any trouble. Your issue looks like a configuration problem.
Also, react-native-bootsplash rely on RN RCTRootView setLoadingView when this library does not.
It might be the cause of the issue.
Try opening an issue and publishing your custom SplashScreen.
Open source maintainers are not wizards, if you have a special use case, it might haven鈥檛 been anticipated.
root-native-boot-splash seems to be working fine for my use case in an empty RN 0.62 project. I will check our LaunchScreen.storyboard, upgrade RN, and post an issue if I still cannot fix the problem on our side.
This issue should be pinned or it should be mentioned in the readme that the package is no longer maintained. I ended up wasting so much time just to realise later that it has so many unresolved problems.
worked flawless on ios, but on android has been a painful experience, thank goodness i ended up on this post, i'm uninstalling this and jumping on bootsplash
Most helpful comment
This issue should be pinned or it should be mentioned in the readme that the package is no longer maintained. I ended up wasting so much time just to realise later that it has so many unresolved problems.