-
Notifications
You must be signed in to change notification settings - Fork 173
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
Prevent the white screen on App Load #1051
Comments
Currently this is the screen you see when first launching the app and the js vm loads. What would you like to do with it? |
to customize it like a splash screen |
it seems the splashscreen loads when the app is already loaded. |
I wish we can add an image property to that particular white screen. |
Rather without a plugin similar to how the ios cordova build allows to provide splash screens. |
Yeah....something without a plugin |
Or is there a way to hide that white screen? |
the white screen is the apps actvity while the js vm and your app get loaded so showing a custom image in the style of https://material.google.com/patterns/launch-screens.html makes sense. |
Hoping the Team added that function soon...really need it. |
@iteearmah In general, if your load times are so long that you see the white screen for a long time (in a production app where the sources are bundled) you should consider to modularize your app more. |
Ok....Will do that then |
We have added Android support for the <platform name="android">
<splash src="res/android/drawable-xxxhpdi/splash.png" density="xxxhdpi"/>
<splash src="res/android/drawable-xxhpdi/splash.png" density="xxhdpi"/>
...
</platform> The The image you provided is shown on a light background. This can currently not be changed in the Tabris.js 1.x stream. In the Tabris.js 2.x stream you are able to provide a custom theme in the <platform name="android">
<!-- Set dark splash screen -->
<preference name="ThemeSplash" value="@style/Theme.Tabris.SplashScreen" />
</platform> The available splash base themes in Tabris.js 2 are:
Support for the |
Closing as implemented |
@mpost this implementation require |
@maoamid No |
Is there a way to prevent the first white screen the appears when the App is launched
The text was updated successfully, but these errors were encountered: