noi-techpark / odh-api-core

.Net Core Port of ODH Tourism Api
2 stars 2 forks source link

Update Google Firebase Cloud Messaging Api Calls #429

Closed RudiThoeni closed 1 week ago

RudiThoeni commented 1 month ago

I got an Email from Google that the FCM (Firebase Cloud Messaging Api) is deprecated and a new one has to be used

We’re writing to remind you that starting June 20, 2024 the legacy Firebase Cloud Messaging (FCM) APIs will be discontinued. This change will cause the legacy APIs to return an increased number of error responses.

The discontinued APIs will be completely shut down by July-August 2024.

Here the migration guide https://firebase.google.com/docs/cloud-messaging/migrate-v1

Still wondering why it still works it seems google has extended (Update: due to a large number of requests, the shutdown has been moved back one month to July 20, 2024.)

Before this data the FCM api has to be updated

RudiThoeni commented 1 month ago

Check also if FCM api is used on the Push Server implemented by Konverto for the Suedtirol Guide

If this is so a possible solution could be to use the Open Data Hub Tourism Push Api and did not use anymore the pushserver of konverto

RudiThoeni commented 2 weeks ago

After some trying i got it to work the only drawback was that the detailview did not opened because the new fcm api does not allow a property to be sent, i already asked dimension for feedback https://github.com/noi-techpark/it.bz.noi.community/issues/21

RudiThoeni commented 1 week ago

On the Suedtirol Guide i did some Tests all is working, they already use a library which uses the new api in the background ;)