fcm-rust
fcm-rust copied to clipboard
An API to talk to FCM (Firebase Cloud Messaging) in Rust
The API [endpoint](https://github.com/panicbit/fcm-rust/blob/ca6c7e747772e103447d62cc6c0e3dbe6ab9a8f4/src/client/mod.rs#L37) being used has been [deprecated](https://firebase.google.com/docs/cloud-messaging/http-server-ref) and will be removed in June 2024.
iOS requires a key "fcm_options" for the image delivery.
``` "unknown variant `TOPICS_MESSAGE_RATE_EXCEEDED`, expected one of `MissingRegistration`, `InvalidRegistration`, `NotRegistered`, `InvalidPackageName`, `MismatchSenderId`, `InvalidParameters`, `MessageTooBig`, `InvalidDataKey`, `InvalidTtl`, `Unavailable`, `InternalServerError`, `DeviceMessageRateExceeded`, `TopicsMessageRateExceeded`, `InvalidApnsCredential`" ``` when fcm returns an error it seems that...
Switch to using a recent version of awc on an actix_rt Realistically, I plan on using this with an actix deployment, there is no reason to use hyper or reqwest....
closes #24 --- This change is [](https://reviewable.io/reviews/panicbit/fcm-rust/25)
I love this crate. We are using it for months now, just one thing kept bugging me: the usage of `reqwest` where most of their features are irrelevant to us...
We should generate documentation to Github pages.
Previous discussion: https://github.com/panicbit/fcm-rust/pull/3
I have an ongoing project to create a unified push client for fcm, apns2 and web-push. Soon hyper will get h2 support, so I can finally finish my long-lasting project...