[ 
https://issues.apache.org/jira/browse/CB-11735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emi updated CB-11735:
---------------------
    Description: 
For this resume event:
https://cordova.apache.org/docs/en/5.1.1/cordova/events/events.resume.html

There is a difference between:
1. Go to the iOS homescreen, then close the app from the background switcher, 
and re-open it (resume event gets launched)
2. Go directly to the background switcher and close the app and re-open it 
(resume event does not get launched) 

The first case is launching the Resume event, the second launches precisely no 
cordova event does it?

As far as from an end user-standpoint, these should be equivalent I'm thinking.

Our particular use-case is to clear the localStorage on resume fired, but 
that's no longer going to work until this bug is resolved..

  was:
For this resume event:
https://cordova.apache.org/docs/en/5.1.1/cordova/events/events.resume.html

There is a difference between:
1. Go to the iOS homescreen, then close the app from the background switcher, 
and re-open it (resume event gets launched)
2. Go directly to the background switcher and close the app and re-open it 
(resume event does not get launched) 

The first case is launching the onResume event, the second launches precisely 
no cordova event does it?

As far as from an end user-standpoint, these should be equivalent I'm thinking.

Our particular use-case is to clear the localStorage on resume fired, but 
that's no longer going to work until this bug is resolved..


> Resume iOS event does not work for direct app kill
> --------------------------------------------------
>
>                 Key: CB-11735
>                 URL: https://issues.apache.org/jira/browse/CB-11735
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>         Environment: iOS
>            Reporter: Emi
>
> For this resume event:
> https://cordova.apache.org/docs/en/5.1.1/cordova/events/events.resume.html
> There is a difference between:
> 1. Go to the iOS homescreen, then close the app from the background switcher, 
> and re-open it (resume event gets launched)
> 2. Go directly to the background switcher and close the app and re-open it 
> (resume event does not get launched) 
> The first case is launching the Resume event, the second launches precisely 
> no cordova event does it?
> As far as from an end user-standpoint, these should be equivalent I'm 
> thinking.
> Our particular use-case is to clear the localStorage on resume fired, but 
> that's no longer going to work until this bug is resolved..



--
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