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

ASF GitHub Bot commented on CB-11602:
-------------------------------------

GitHub user nbabanov opened a pull request:

    https://github.com/apache/cordova-plugin-splashscreen/pull/109

    CB-11602: (android) Fix bug AutoHideSplashScreen false - not working

    ### Platforms affected
    Android
    
    ### What does this PR do?
    Fixes https://issues.apache.org/jira/browse/CB-11602
    
    ### What testing has been done on this change?
    
    
    ### Checklist
    - [x] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and 
submitted to [email protected].
    - [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
in the JIRA database
    - [x] Commit message follows the format: "CB-11602: (android) Fix bug with 
resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform 
affected.
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nbabanov/cordova-plugin-splashscreen master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-splashscreen/pull/109.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 #109
    
----
commit a0836cbccf5842510c3e433c03b6e6c706f42c85
Author: Nikolay Babanov <[email protected]>
Date:   2016-07-19T09:49:50Z

    CB-11602: (android) Fix bug AutoHideSplashScreen false - not working

----


> Splashcreen plugin receives onPause and hides
> ---------------------------------------------
>
>                 Key: CB-11602
>                 URL: https://issues.apache.org/jira/browse/CB-11602
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin SplashScreen
>    Affects Versions: 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 
> 2.8.0, 2.9.0, 2.9.1, 3.5.0
>         Environment: Android
>            Reporter: Nikolay Babanov
>              Labels: easyfix
>             Fix For: 4.0.0
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> When you set the "AutoHideSplashScreen" to false in the config.xml, the 
> splash screen still automatically closes, before the crosswalk webview is 
> loaded.
> This is caused by the plugin receiving the onPause event and therefore 
> dismissing itself.
> My proposed solution is to use the onStop event in place of the onPause, as 
> this fixes the issue.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to