Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[android] Upgrade to v1 notification #22

Open
3 tasks done
e-marchand opened this issue Oct 10, 2024 · 4 comments
Open
3 tasks done

[android] Upgrade to v1 notification #22

e-marchand opened this issue Oct 10, 2024 · 4 comments

Comments

@e-marchand
Copy link
Contributor

e-marchand commented Oct 10, 2024

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:

@e-marchand
Copy link
Contributor Author

proposition

Si on défini

$pushNotification.auth.project:="your_prj_key"

alors on utilise le nouveau endpoint avec le bon bearer

@e-marchand
Copy link
Contributor Author

Not tested

@e-marchand e-marchand reopened this Oct 16, 2024
@e-marchand
Copy link
Contributor Author

JSON data changed for this new API

must be tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant