{ "id": "168559", "key": "TIMOB-24876", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": "2017-06-22T07:35:09.000+0000", "epic": { "id": 170975, "key": "MOD-2395", "name": "Enhance Push Notification module", "summary": "Enhance Push Notification module", "color": { "key": "color_4" }, "done": false }, "priority": { "name": "None", "id": "6" }, "labels": [ "2019-cl" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2019-04-02T20:08:12.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": [ { "id": "10202", "name": "Android", "description": "Android Platform" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" }, { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "Today, we manage push-notifications on iOS via {{Ti.Network.registerForPushNotifications}} / {{Ti.App.iOS.registerUserNotificationSettings}}. \r\n\r\nOn Android, there are several push-modules like [GCMPush|https://github.com/morinel/gcmpush] for GCM and [Ti.Goosh|https://github.com/caffeinalab/ti.goosh] for GCM/FCM. I think nowadays the FCM-technology is preferred. \r\n\r\nOn Windows, I have no idea if we even support push notifications (do we [~kota]?). The possible capabilities should be investigated as well.\r\n\r\nIn general, we should work on a centralized API interface that is the same on all platforms. Required API's:\r\n* Check if push supported\r\n* Register / Unregister for push notifications\r\n* Receive push notifications (foreground, background) via events\r\n\r\niOS already has some very platform-specific API's regarding notification-actions, I am not sure if that can even be achieved on the other platforms. Nevertheless, if there are Android / Windows API's that can help to support the above use-cases, it will be a huge parity bump already.", "attachment": [], "flagged": false, "summary": "TiAPI: Investigate Remote-Push-Notifications parity across all platforms", "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": "422540", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "On Windows, yes we have background service related API in {{Ti.App.Windows.BackgroundService}}: [Windows Background Service Quick Start|http://docs.appcelerator.com/platform/latest/#!/guide/Windows_Background_Service_Quick_Start] that can be used with push notifications. It is very Windows-specific API though and pretty much relying on external native module to integrate with push notifications.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-22T07:50:35.000+0000", "updated": "2017-06-22T07:50:35.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }