You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Shakhnazarov (JIRA)" <ji...@apache.org> on 2016/05/23 07:21:14 UTC

[jira] [Commented] (CB-11304) White screen after relaunch when left with back button -> no splashscreen

    [ https://issues.apache.org/jira/browse/CB-11304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15296023#comment-15296023 ] 

Sergey Shakhnazarov commented on CB-11304:
------------------------------------------

The splashscreen should re-show if the cordova-plugin-splashscreen is added to the project.
Do you have it added and if yes - which version of it?

> White screen after relaunch when left with back button -> no splashscreen
> -------------------------------------------------------------------------
>
>                 Key: CB-11304
>                 URL: https://issues.apache.org/jira/browse/CB-11304
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 6.0.0
>         Environment: Cordova 6.0.0
> cordova-android@5.1.1
> Mac OSX
> Android Studio 2.1
> Nexus 4 (Android 4.4.4)
> Nexus 6p (Android 6.0.1)
>            Reporter: Roberto De Simone
>            Priority: Critical
>
> Use the backbutton to suspend (exit) the app. When later relaunching the app - through the app list or by selecting the app icon - the app loads again but without splash screen. When the JS is heavy, like an Ionic 2 app there is a white screen for several seconds which looks very ugly.
> This can be reproduced with the simplest possible Cordova app.
> 1. cordova create test com.mydomain.test test
> 2. cd test
> 3. cordova add platform android
> 4. cordova run android (on a device)
> 5. Press the backbutton
> 6. Switch to app list
> 7. Select the app
> -> for a very short time a white screen is visible - the time needed to load the JS. As the simplest app has very little JS, the effect is difficult to see on fast devices like a Nexus 6p. If you add heavy JS - like Ionic 2, then the effect is very well visible also on fast devices.
> (Also to mention: the effect is the same when listening to the "backbutton" event and trying to exit the app with "navigator.app.exitApp() ")



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org