Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to "Show" Splash Screen #455

Open
alexborton opened this issue May 22, 2023 · 11 comments
Open

Option to "Show" Splash Screen #455

alexborton opened this issue May 22, 2023 · 11 comments
Assignees
Labels
feature request New feature or request

Comments

@alexborton
Copy link

Why it is needed?

Given a custom CodePush flow that leads to users restarting the app before they continue their journey, it would be really nice to have to option to "show" the splash screen at a point in time (and hide it again on request). This would hopefully cover the flash of "root view" that occurs between JS reloads when restarting a foreground app.

Possible implementation

No response

Code sample

No response

@alexborton alexborton added the feature request New feature or request label May 22, 2023
@zoontek
Copy link
Owner

zoontek commented May 22, 2023

@viLeeKorn
Copy link

@zoontek could you provide the access for me to the link as well?

@zoontek
Copy link
Owner

zoontek commented Jun 6, 2023

@viLeeKorn I fixed it. It's just a link to the existing, similar issues where you can easily find more infos.

@Melekhin
Copy link

I fixed it. It's just a link to the existing, similar issues where you can easily find more infos.

Hello!
So at the moment is there an option to manually show the splash screen?

React Native 70+

@zoontek
Copy link
Owner

zoontek commented Jul 18, 2023

@Melekhin Hello! No. But I think this is not a good idea anyway.

A way better solution would be a package allowing you to render another react native app root inside a controllable UIViewController / DialogFragment.
This way, people would be able to render whatever they want (ex: a lock illustration when the app is in multitask because your app has sensitive data, a screen telling the user that you perform an OTA when using Codepush, etc).

Just using the splash screen for that would sure works, but it's IMHO a poor solution.

@Melekhin
Copy link

@zoontek

Your suggestion sounds very sensible, and will satisfy all the tasks users face, but unfortunately there is no such package yet, a simple solution is to show at least just a normal boot static screen at startup....

By the way, the problem with code push and displaying a picture is also relevant to me.

If someone will start to do such a work on the package, perhaps joined the work on it myself, if I can help in any way)

@zoontek
Copy link
Owner

zoontek commented Jul 19, 2023

@Melekhin You can also create this package 🙂

@a-eid
Copy link

a-eid commented Aug 25, 2023

@zoontek if you use expo, I believe expo-splash-screen does this by default, whenever you reload the app ( in cases like OTA or RTL / LTR layout changes ) it displays the splash screen.

@zoontek is it technically possible for bootsplash to support this default behavior as well ?

@zoontek
Copy link
Owner

zoontek commented Aug 25, 2023

@a-eid Check the "What's next?" section here: #475

@Vadko
Copy link

Vadko commented Sep 27, 2024

@zoontek any progress on library for different cover screens?

@zoontek
Copy link
Owner

zoontek commented Sep 27, 2024

@Vadko No, I gave up on this idea. A few companies reached me by email but after asking, none wanted to sponsor it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants