[
https://issues.apache.org/jira/browse/CB-14053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16451973#comment-16451973
]
Jan Wischweh edited comment on CB-14053 at 4/25/18 9:51 AM:
------------------------------------------------------------
uncommenting
{code:java}
// If we set this to true onDestroy, we lose track when we go from page to page!
firstShow = true;
{code}
seems to be a quick workaround for this issue, but i am not sure if this will
have any undesired side-effects as i do not fully understand the warning in the
code comment
was (Author: r-hold):
uncommenting
{code:java}
// If we set this to true onDestroy, we lose track when we go from page to page!
firstShow = true;
{code}
> Splashscreen does not show up after ServiceConnection was leaked in previous
> Android App Start
> ----------------------------------------------------------------------------------------------
>
> Key: CB-14053
> URL: https://issues.apache.org/jira/browse/CB-14053
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-plugin-splashscreen
> Affects Versions: 6.5.0
> Environment: *Project Setup*
> * Cordova 6.5.0
> * cordova-android 6.3.0
> *Affected Devices:*
> * Galaxy S5 mini (Android 5.1.1)
> * Pixel (Android 8.0)
> * Galaxy S7 edge (Android 7.0)
> * Galaxy S8 (Android 7.0)
> *NOT affected*
> * HTC One M8 (Android 5.0.1)
> Reporter: Jan Wischweh
> Priority: Minor
>
> When i start my cordova app using splashscreen and it produces a leaked
> ServiceConnection in android, i.e.:
> {{ActivityThread: Activity org.my.app.MainActivity has leaked
> ServiceConnection }}
> in the android logcat, on some devices the splashscreen does not comeup as
> expected on the next app start.
> The leaked ServiceConnection clearly is no bug within the
> splashscreen-plugin, but it shouldn't affected the workings on the next app
> startup either
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]