-
-
Notifications
You must be signed in to change notification settings - Fork 43
Alarm / notification system #9
Comments
GCM on iOS can probably be implemented via https://developers.google.com/cloud-messaging/ios/client?ver=swift |
Thanks! |
The TumCabe backend holds the full information on the notification (e.g.: description text for the alarm). GCM is only there to initiate the connection and let the client know that there is new information to fetch. This saves battery power, as we do not have to deal with setup a long lived socket and MQTT ourselfs (Message queue). Yea, ask me any time - I can give you all infos ;) |
Depends on TUM-Dev/Backend#2 TUM-Dev/Backend/issues/2 |
The issue referenced above, is already done. It was about migrating to Firebase, which we have completed. |
@kordianbruck Have you set this up? |
yes, I think @mammuth worked on this already and pretty much finish it. |
The preliminary feature needs to be implemented for 1.3.1. |
Feel free to take this one. I’m still I’m my exam phase. |
Same 😞 @mathiasquintero I once checked out firebase and started creating the needed certs and profiles and tinkered around with some code snippets in the app but there is nothing that could be pushed I think. |
Will be handled in #360 |
It would be great to have GCM on the iOS app as well in order to be able to support the Alarm feature on both platforms and maybe get better backing from the TUM through this.
The GCM message format is listed here: https://github.com/TCA-Team/TumCampusApp/wiki/GCM-Message-format
The GCM message does not contain all the information needed as that would probably exceed the size limit of the GCM payload. In order to fetch the full message please check the API client in the Android version.
The text was updated successfully, but these errors were encountered: