You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/07/16 15:44:05 UTC
[jira] [Commented] (CB-6898) [Android] Black screen issue when app
start up
[ https://issues.apache.org/jira/browse/CB-6898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063497#comment-14063497 ]
Andrew Grieve commented on CB-6898:
-----------------------------------
[~bowserj] Joe - I don't think we should be forcing apps to use a splashscreen on Android. They aren't mandatory like they are on iOS.
Sounds like decent alternatives - such as showing a splash screen using HTML, or rendering "above the fold" will not work with the webview set to invisible. onPageFinished is a very coarse event, and it often comes much later than when the app has something rendered.
> [Android] Black screen issue when app start up
> ----------------------------------------------
>
> Key: CB-6898
> URL: https://issues.apache.org/jira/browse/CB-6898
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 3.5.0
> Reporter: Guangzhen
>
> When the app doing a heavy work when start up, there will be a black screen displayed firstly and then the actual page will be shown.
> I have investigated in the cordova-android implementation and found the root cause:
> When app start up, the appView will be invisible, and then changed to visible after receive onPageFinish event. It will cause black screen issue before it changed to visible.
> This behavior is for 'LoadingDialog' feature.
> But when there is no 'LoadingDialog' specified in the config fie, I think we do not need to set the appView invisible.
--
This message was sent by Atlassian JIRA
(v6.2#6252)