cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <>
Subject [jira] [Resolved] (CB-7080) App resume broken when app is launched from Play Store or cordova CLI
Date Sun, 06 Jul 2014 12:30:39 GMT


Andrew Grieve resolved CB-7080.

    Resolution: Duplicate

This is definitely a confusing bug. I do believe it's now fixed though (but not fixed-by-default
for upgraded projects) in 3.5.0. 

Refer to CB-6048.

> App resume broken when app is launched from Play Store or cordova CLI
> ---------------------------------------------------------------------
>                 Key: CB-7080
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.5.0
>         Environment: Android 4.4
>            Reporter: Mike Hayes
> There is a long lasting issue related to Android activities being launched a second time
in certain scenarios, this causes issues in Cordova apps (Cordova events do not get fired).
> Bug is reported at Android here:
> Some further discussion in the Phonegap boards here:
> and a workaround here:
> Steps to reproduce:
> 1) Install and launch app via "cordova run" or from the Play Store
> 2) Tap home button
> 3) Tap app icon to resume app
> 4) Second activity is launched, no "resume" or "deviceready" events are fired. As such
the app cannot continue to run as we're waiting on these events to fire first.
> This is a long standing issue and whilst it looks like there will be no fix in Android,
it seems it can be fixed using the workaround from the Cordova side of things. I'm quite astounded
that this issue has not been reported before.
> There seems to be a loosely related issue here:
> As it stands, on first install from the Play Store, once the user has finished using
the app and decides to go back to it, the app will appear frozen, since the deviceready event
does not fire. The user must kill the app and start it again but most would not consider doing
this before uninstalling the app and forgetting about it.

This message was sent by Atlassian JIRA

View raw message