[
https://issues.apache.org/jira/browse/CB-6774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14011289#comment-14011289
]
Daniel Trebbien edited comment on CB-6774 at 5/28/14 4:42 PM:
--------------------------------------------------------------
I got the SplashScreen to work on Android by copying the default splash PNGs
into the {{platforms/android/res/drawable*/}} folders and adding to
{{www/config.xml}}:
{code:xml}
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="10000" />
{code}
Sorry for the noise.
was (Author: dtrebbien):
I got the SplashScreen to work on Android by copying the default splash PNGs
into the {{platforms/android/res/drawable*/}} folders and adding to
{{www/config.xml}}:
{code:xml}
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="10000" />
{code}
> 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)