[TIMOB-14617] iOS7: Implement the new backgrounding techniques
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-11-14T00:42:25.000+0000 |
Affected Version/s | Release 3.2.0 |
Fix Version/s | 2013 Sprint 23, 2013 Sprint 23 API, Release 3.2.0 |
Components | iOS |
Labels | ios7, module_app, qe-testadded |
Reporter | Sabil Rahim |
Assignee | Sabil Rahim |
Created | 2013-07-22T19:53:24.000+0000 |
Updated | 2015-06-12T15:55:13.000+0000 |
Description
Implement the new Background multitasking control introduced in iOS 7,
There are three features introduced in iOS 7
* Background Fetch
* Silent Push
* Background Transfer Service
Implement NSUrlSession using Hyperloop
https://github.com/appcelerator/titanium_mobile/pull/4936 more to follow
Code reviewed and tested. PR merged into master.
Closing ticket as fixed. Verified the following: Was able to initiate background downloading while app was in the foreground. The following events were triggered using the test app: downloadprogress downloadcompleted sessioncompleted After initiating background download in the foreground, was able to finish the background downloading after putting the app in the background. The following events were triggered using the test app: backgroundtransfer downloadprogress downloadcompleted sessioncompleted sessioneventscompleted Was able to trigger background download with ACS push. The following events were triggered when using the modified test app: silentpush backgroundtransfer downloadprogress downloadcompleted sessioncompleted sessioneventscompleted Was able to trigger the background fetch event after 6:00 pm (PST). The following events were triggered using the test app: backgroundfetch backgroundtransfer downloadprogress downloadcompleted sessioncompleted sessioneventscompleted Tested on: Titanium Studio, build: 3.2.0.201311200322 SDK build: 3.2.0.v20131120142443 CLI: 3.2.0-alpha Alloy: 1.3.0 (git://github.com/appcelerator/alloy.git#1_3_X) Xcode: 5.0.2 Device: iphone 4 (7.0.2), iphone simulator (7.0.3)
Module PR https://github.com/appcelerator/titanium_modules/pull/145