You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Daniel Trebbien (JIRA)" <ji...@apache.org> on 2014/05/28 18:18:02 UTC

[jira] [Created] (CB-6774) SplashScreen not shown on Android

Daniel Trebbien created CB-6774:
-----------------------------------

             Summary: SplashScreen not shown on Android
                 Key: CB-6774
                 URL: https://issues.apache.org/jira/browse/CB-6774
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android, Plugin SplashScreen
    Affects Versions: 3.4.0
         Environment:  * Nexus 7 (2013) tablet running Android 4.4.2
 * Mac OS 10.9.3 with iOS Simulator version 7.1
 * PhoneGap 3.4.0-0.19.21
            Reporter: Daniel Trebbien
            Priority: Critical


The splash screen is not working on Android, although it works fine on iOS.

Steps to reproduce:
{code}
$ phonegap create phonegap-helloworld
$ cd phonegap-helloworld/
$ phonegap run ios
$ phonegap run android --device=0a...
{code}

The default splash screen appears when the HelloWorld app is run in iOS Simulator, but when run on a Nexus 7 (2013) tablet running Android 4.4.2, no splash screen is displayed.

I then ran:
{code}
$ phonegap plugin add org.apache.cordova.splashscreen
$ phonegap run android --device=0a...
{code}

Then, remote inspecting the {{WebView}} that is running the app, I tried running on the console:
{code:javascript}
navigator.splashscreen.show()
{code}

.. but the splash screen was not shown.



--
This message was sent by Atlassian JIRA
(v6.2#6252)