[
https://issues.apache.org/jira/browse/CB-8396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15101501#comment-15101501
]
ASF GitHub Bot commented on CB-8396:
------------------------------------
GitHub user daserge opened a pull request:
https://github.com/apache/cordova-plugin-splashscreen/pull/74
CB-8396 Add AutoHideSplashScreen logic to Android's Splashscreen
[Jira issue](https://issues.apache.org/jira/browse/CB-8396)
Also initializing the splashscreen image irrespective of firstShow because
the splashscreen could be shown manually via navigator.splashscreen.show();
after exiting the app using BackButton or via navigator.app.exitApp();
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-plugin-splashscreen CB-8396
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-splashscreen/pull/74.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #74
----
commit c580f08c88dff8b0ce4cf103d72761a01152823a
Author: daserge <[email protected]>
Date: 2016-01-15T08:54:21Z
CB-8396 Add AutoHideSplashScreen logic to Android's Splashscreen
Also initializing the splashscreen image irrespective of firstShow because
the splashscreen could be shown manually via navigator.splashscreen.show();
after exiting the app using BackButton or via navigator.app.exitApp();
----
> Add AutoHideSplashScreen logic to Android's Splashscreen
> --------------------------------------------------------
>
> Key: CB-8396
> URL: https://issues.apache.org/jira/browse/CB-8396
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Android, Plugin SplashScreen
> Affects Versions: Master
> Environment: Android 5.0.1 emulator.
> Reporter: Tom A
> Labels: android
>
> In config.xml I've set:
> {code:title=config.xml|borderStyle=solid}
> <preference name="AutoHideSplashScreen" value="false" />`
> {code}
> This has no effect on the Android platform. Splash screen autohides after 3
> seconds (the default SplashScreenDelay).
> Tested on Android 5.0.1.
> If I look at the code here
> [https://github.com/apache/cordova-plugin-splashscreen/blob/master/src/android/SplashScreen.java]
> I'd expect to see something like this somewhere:
> {code:title=SplashScreen.java|borderStyle=solid}
> preferences.getBoolean("AutoHideSplashScreen", false);
> {code}
> Maybe this has something to do with it?
> If you need any more info, please let me know.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]