{ "id": "145187", "key": "TIMOB-19603", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2015-02-26T14:22:33.000+0000", "priority": null, "labels": [ "android", "ios", "lifecycle" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:09.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "As a developer, I want to use the same application lifecycle handlers, regardless of which platform I'm deploying to.\r\n\r\nOn iOS the application is notified about its lifecycle via \"pause\", \"resume\" and \"resumed\" events from Ti.App.\r\nOn Android, one has to to assign handlers to \"$.win.activity\" or (slightly differently) \"Ti.Android.currentActivity\".\r\n\r\nSince the iOS functionality doesn't have any indication that it's iOS-specific, It would make for much clearer code if Android used the same mechanism.\r\n\r\nThis would probably be a breaking change but adaptation should be straightforward for any app that already supports iOS.", "attachment": [], "flagged": false, "summary": "Unified application lifecycle callbacks across platforms", "creator": { "name": "milgner", "key": "milgner", "displayName": "Marcus Ilgner", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "milgner", "key": "milgner", "displayName": "Marcus Ilgner", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [], "maxResults": 1, "total": 1, "startAt": 0 } } }