Modify splash screen auto-hide behavior#3
Conversation
Added a condition to only auto-hide the splash screen if not forced to keep it visible until an explicit hide() is called.
Compatibility with react native 0.81
Fix missing newline at end of file.
Only auto-hide if not forced to keep splash until explicit hide() is called
|
What do you think, can you merge this PR? SplashScreen.hide(currentActivity) Thank you in advance! |
|
Also I would have another question: setupCustomLottieSplash is not available on ios and 3.0.1 is not available on npm. Can I ask you to check these? |
|
What do you think, you will have time for check this PR? |
|
@kevinmartin33 @mateattilabarna Thank you very much for your collaboration, and sorry for the delayed response. The If you think we need a different approach for the hiding behavior, I’d suggest adding a separate switch for it - maybe an attribute like Do you think it makes sense? |

-- iOS
Added a condition to only auto-hide the splash screen if not forced to keep it visible until an explicit hide() is called.
-- Android
Add compatibility with RN 0.81 / Safely retrieves the Activity (nullable) and passes it to hide()