Предупреждение от пожарной базы - PullRequest
0 голосов
/ 04 апреля 2019

Я создал облачные функции для отправки уведомления и доступа к базе данных пожарного депо. Я перешел по ссылкам, указанным ниже, для написания облачной функции.

https://firebase.google.com/docs/firestore/quickstart https://firebase.google.com/docs/functions/get-started

Теперь я получил письмо от firebase:

   "You are receiving this message because you are an owner of a Firebase project that sent a message via the Google Cloud Messaging (GCM) endpoint in the last 28 days.
 Last year we announced that the GCM server and client APIs are deprecated. To prevent a disruption in your service, you must redirect your Cloud Messaging server requests to the Firebase Cloud Messaging (FCM) endpoint at fcm.googleapis.com/fcm/ before May 29, 2019.
  We also recommend that you upgrade your client SDKs from GCM to the latest version of Firebase Cloud Messaging. Although existing app installations that use GCM methods will continue to function, GCM methods will not work when your app targets future Android versions (after Android Q)".

Теперь я запутался, правильно я или нет. Я должен сделать некоторые изменения в коде или это нормально. Пожалуйста, предложите что-нибудь.

...