Open evollu opened 7 years ago
I want to fix this too !
my forked repo has the changes if anyone wants to use it https://github.com/evollu/react-native-splash-screen
FWIW, I switched over to your evollu/react-native-splash-screen
repo to pick up this fix. It works great! Really hope it can be upstreamed so that I can switch back to the canonical repo.
@evollu are you planning to make a PR with the fix?
it is going to be breaking change. @crazycodeboy shall I make a PR?
@evollu am facing same issue here ! can you guide me on how to fix ?
I set my app's splash screen in my main style.xml as
<item name="android:windowBackground">@drawable/splash</item>
and I use the same splash screen in react-native-splash-screen.
What I find when dialog splash screen's center is 20px higher than main activity's splash. I fixed by following rn-splash-screen's approach and changed style to be
and remove the code
Is this a correct fix?