title: Warning from firebase
body: <p>I have created cloud functions for sending the notification and accessing the firestore database. I have followed links mentioned below for writing the cloud function.</p>
  
  <p><a href="https://firebase.google.com/docs/firestore/quickstart" rel="nofollow noreferrer">https://firebase.google.com/docs/firestore/quickstart</a>
  <a href="https://firebase.google.com/docs/functions/get-started" rel="nofollow noreferrer">https://firebase.google.com/docs/functions/get-started</a></p>
  
  <p>Now I received an email from firebase:</p>
  
  <pre><code>   "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)".
  </code></pre>
  
  <p>Now I am confused, what I am doing is right or not. I should do some changes in code or It is fine. Please suggest something .</p>