Open e-marchand opened 2 weeks ago
we use legacy endrpoint "https://fcm.googleapis.com/fcm/send" https://github.com/4d/4D-Mobile-App-Server/blob/main/Project/Sources/Methods/android_sendNotification.4dm#L16
the instruction to upgrade are here https://firebase.google.com/docs/cloud-messaging/migrate-v1
TODO:
proposition
Si on défini
$pushNotification.auth.project:="your_prj_key"
alors on utilise le nouveau endpoint avec le bon bearer
doc https://github.com/4d/4D-Mobile-App-Server/blob/main/Documentation/Classes/PushNotification.md#project-key-android-only
Not tested
JSON data changed for this new API
must be tested
we use legacy endrpoint "https://fcm.googleapis.com/fcm/send" https://github.com/4d/4D-Mobile-App-Server/blob/main/Project/Sources/Methods/android_sendNotification.4dm#L16
the instruction to upgrade are here https://firebase.google.com/docs/cloud-messaging/migrate-v1
TODO: