[
https://issues.apache.org/jira/browse/CB-11602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15751032#comment-15751032
]
ASF GitHub Bot commented on CB-11602:
-------------------------------------
Github user daserge commented on the issue:
https://github.com/apache/cordova-plugin-splashscreen/pull/109
@nbabanov thanks for the contribution and sorry it took so long to review
this.
Could you please describe your scenario - I could not reproduce the issue
with latest cordova-android and master version of crosswalk-webview (splash
gets hidden when I press Home or Power button with or without this change).
How do you get the activity to be paused?
As an alternative I can suggest to listen to onRestart event and restore
the previous splash screen state - I would be grateful if you could test
whether this works for you:
https://github.com/daserge/cordova-android/tree/CB-11602
https://github.com/daserge/cordova-plugin-splashscreen/tree/CB-11602
> 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
> Assignee: Sergey Shakhnazarov
> Labels: easyfix, triaged
> 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]