Sending Firebase Cloud Messages using a Cloud Function

updated Jan. 31, 2019