{ "id": "166491", "key": "MOD-2328", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "19281", "name": "Ti.URLSession 2.1.0", "archived": false, "released": true } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-05-14T11:38:35.000+0000", "created": "2017-03-08T09:54:37.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios", "urlsession" ], "versions": [], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2018-08-06T17:49:21.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14542", "name": "UrlSession" } ], "description": "This is an improvements I was working on a few months ago. It allows people to perform background uploads (together with the already existing background download functionality). While working on it, I also deprecated the old API to have a unifies URLSession api that does it's operations on \"Session\" objects instead of having all methods on the module top level. I also exposed all other possible properties and methods around it, so people can use all the sugar from the NSURLSession API in Titanium.\r\n\r\nThankfully, [~rlustemberg] also did a PR to the core to receive the upload responses from the uploads in [here|https://github.com/appcelerator/titanium_mobile/pull/8860]. Together with my module PR [here|https://github.com/appcelerator-modules/ti.urlsession/pull/9], the functionality is completely implemented by now and can be reviewed.", "attachment": [], "flagged": false, "summary": "iOS: Refactor Ti.URLSession, allow background uploads", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "409807", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (titanium_mobile/master): https://github.com/appcelerator/titanium_mobile/pull/8860\r\nPR (ti.urlsession/master): https://github.com/appcelerator-modules/ti.urlsession/pull/9\r\n\r\nTest-Case (deprecated - should still work): https://github.com/appcelerator-modules/ti.urlsession/blob/master/ios/example/app.js\r\n\r\nTest-Case (new one - should be no deprecation warnings: https://github.com/hansemannn/ti.urlsession/blob/ba8c3075f663787219b68e0de4fc817fddf26f1c/ios/example/app.js", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-03-08T09:58:11.000+0000", "updated": "2017-03-08T09:58:11.000+0000" }, { "id": "412483", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~ewieber] [~amukherjee] This PR is now labeled for QE-testing.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-03-15T11:37:15.000+0000", "updated": "2017-03-15T11:37:15.000+0000" }, { "id": "440124", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:49:21.000+0000", "updated": "2018-08-06T17:49:21.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }