无法从 android 台设备创建设备组

Impossible to create a device group from android device

几天后,我的应用无法再从我的 android 应用创建设备组。根据 Firebase 文档,我们应该能够从服务器或客户端管理设备组。几年来我没有改变我的应用程序!所以我猜有些东西在文档中没有任何参考的情况下发生了变化。目前我的应用程序:

 JSONObject data = new JSONObject();
 data.put("operation", "add");
 data.put("notification_key_name", notificationKeyName);
 data.put("registration_ids", new
 JSONArray(Collections.singletonList(registrationId)));
 data.put("id_token", idToken);
 RequestBody body = RequestBody.create(MEDIA_TYPE_JSON, data.toString());
 Request oreq = new
 Request.Builder().url("https://fcm.googleapis.com/fcm/googlenotification")
  .addHeader("project_id", projectId)
  .addHeader("Content-Type", "application/json")
  .addHeader("Accept", "application/json")
  .post(body)
  .build();

其中通知密钥名称是 Google 帐户的用户电子邮件,使用

检索令牌
String idToken = GoogleAuthUtil.getToken(this, account, scope);

并使用

检索注册 ID
FirebaseMessaging.getInstance().getToken()

当应用程序现在发送请求时,结果是“发送者被拒绝”,但正如我所说,我没有做任何更改。但是在 Firebase 文档中我再也找不到对端点 https://fcm.googleapis.com/fcm/googlenotification 的任何引用所以它是否改变了什么? 我用 firebase doc 跟踪网页,我看到与客户端 android 设备组应用程序管理相关的部分已在一年前,即 2020 年 3 月 18 日删除。

我自己回复:Firebase 支持终于回复说客户端支持在没有任何建议的情况下被删除了。没有解决这个问题的办法。个人说明:不要再使用 Firebase 产品了。