Alarm / notification system
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.

GCM on iOS can probably be implemented via https://developers.google.com/cloud-messaging/ios/client?ver=swift
Thanks! I will start working on this right after the exams. I'm still kind of fussy on the architecture of this thing and what role the TumCabe Backend plays in this and what is handled by Google. I soon as I've read all of this, who should I go to for questions? @kordianbruck ?
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 https://github.com/TCA-Team/backend/issues/2
TCA-Team/backend/issues/2 backend/issues/2 (Hm, the second both links get changed (the # is added), but it's not mentioned at the backend issue)
The issue referenced above, is already done. It was about migrating to Firebase, which we have completed. Anyone willing to implement this, please contact me, in order to get the proper certificates for the GCM push messages.
@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. Will only support the Alarm Payload and add chat later. Updates should be handled differently I guess since the payload appears to be only available for Android and the App Store Updates are pretty fast due to autoupdate
@mammuth can you please push anything you have on this? @TG908 do you wanna take this one, or should I? I don't know how you're doing on time
Feel free to take this one. I’m still I’m my exam phase.
Same :disappointed:
@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 https://github.com/TUM-Dev/Campus-iOS/issues/360