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

Show a light/dark splash screen if the app have forced light/dark theme saved in cache. #542

Open
hectorAguero opened this issue Apr 15, 2023 · 5 comments
Labels
feature request New feature or request will need a PR Extra attention is needed

Comments

@hectorAguero
Copy link

hectorAguero commented Apr 15, 2023

Is your feature request related to a problem? Please describe.
Some apps on Android have a dark background when I force the dark theme inside the app(Messages is in the video).

Describe the solution you'd like

Only as a idea I was thinking about read a specific variable from sharedPreferences cache in the native side, when this variable change run a function that set the splash theme

  • On android is related to support this API Call setSplashScreenTheme(int themeId) so I can call that at function at the same time that I force the themeMode inside the app

  • On iOS maybe is related to create the splash screen with SwiftUI, if not maybe is impossible for now

Additional context

aaa.mov
@jonbhanson jonbhanson added feature request New feature or request will need a PR Extra attention is needed labels Apr 16, 2023
@tushar0518
Copy link

any update so far?
I guess most of the developers who use this package, will need this feature essencially.

@Iamzaryab
Copy link

Is there any update on this issue?

@ravisahumcn
Copy link

how to set this [setSplashScreenTheme] in app

@triay0
Copy link

triay0 commented Jan 24, 2024

any update?

@jonbhanson
Copy link
Owner

I don't have any plans to add this feature, which is why it is marked "Will need a pr".

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 will need a PR Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants