Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15749] iOS: Backgrounding - 'silentpush' event is not triggered when an app is backgrounded and a ACS push is sent

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-11-19T22:23:35.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.2.0
ComponentsiOS
Labelsqe-3.2.0, qe-nfc
ReporterWilson Luu
AssigneeSabil Rahim
Created2013-11-19T22:05:41.000+0000
Updated2013-11-20T03:24:57.000+0000

Description

*Details:* 'silentpush' event is not triggered when an app is backgrounded and a ACS push is sent. *Steps to reproduce:* 1. Create a new Titanium project 2. Include the app.js and tiapp.xml into the project 3. Install the app to an iOS 7 device and background the app 4. Next, go to http://cloud.appcelerator.com/apps/e36432ae-51c8-43b7-8ecb-7c9db78cd0a7 username: wluu@appcelerator.com pw: bnorhwe 5. Send a custom push: {"alert":"here goes alert", "content-available":1} *Actual:* 'silentpush' event is not triggered. *Expected:* 'silentpush' event should be triggered which will trigger the background download.

Attachments

FileDateSize
app.js2013-11-19T22:05:41.000+00008083
tiapp.xml2013-11-19T22:05:41.000+00003241

Comments

  1. Sabil Rahim 2013-11-19

    https://github.com/appcelerator/titanium_mobile/pull/4997
  2. Wilson Luu 2013-11-20

    Closing ticket as fixed. Verified 'silentpush' event was fired and download started while app was in the background. Tested on: Titanium Studio, build: 3.2.0.201311160316 SDK build: 3.2.0.v20131119142443 CLI: 3.2.0-alpha Alloy: 1.3.0 (git://github.com/appcelerator/alloy.git#1_3_X) Xcode: 5.0.2 Device: iphone 5 (7.0.2)

JSON Source