Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24876] TiAPI: Investigate Remote-Push-Notifications parity across all platforms

GitHub Issuen/a
TypeStory
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid, iOS, Windows
Labels2019-cl
ReporterHans Knöchel
AssigneeUnknown
Created2017-06-22T07:35:09.000+0000
Updated2019-04-02T20:08:12.000+0000

Description

Today, we manage push-notifications on iOS via Ti.Network.registerForPushNotifications / Ti.App.iOS.registerUserNotificationSettings. On 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. On Windows, I have no idea if we even support push notifications (do we [~kota]?). The possible capabilities should be investigated as well. In general, we should work on a centralized API interface that is the same on all platforms. Required API's: * Check if push supported * Register / Unregister for push notifications * Receive push notifications (foreground, background) via events iOS 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.

Comments

  1. Kota Iguchi 2017-06-22

    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.

JSON Source