服务器从 GCM 迁移到 FCM

Server migration from GCM to FCM

我们希望最终更新我们的服务器以使用 Firebase 云消息传递,因为 Google 云消息传递已被弃用和删除。根据这个问题,, there shouldn't be much to do since the Sender() defaults to the FCM endpoint if it's empty. However, no version with that change is available in Maven, the last one being 1.0.0 (https://mvnrepository.com/artifact/com.google.gcm/gcm-server)。所以...

是否有包含 https://github.com/google/gcm/commit/b9e5624cd975d72bf2604d7f025cdd24bf2672d8 的 GCM 官方版本?还是我们必须从源代码构建它?

我在 Maven Repo 中没有看到它,但是 it's GitHub releases page itself has the v1.0-SNAPSHOT 可用 -- 其中包含您正在寻找的更新(我认为)。