Firebase Firestore Chat App: Cloud Functions & FCM (Ep 8) – Kotlin Android Tutorial

Firebase provides a bunch of awesome services such as Firestore, Auth, Cloud Storage, Cloud Functions and Cloud Messaging. Learn how to use them in this tutorial course in which we’re making a fully fledged real-time chat app with everything you’d expect like sending images and getting notifications when we receive a new message.

In this part you will learn how to create a Cloud Function in Javascript which will send an FCM message to all of the user’s devices when he/she receives a message from another user. You will also learn how to set everything up on your computer in order for you to be able to upload cloud functions, well, to the cloud.

This post contains all the code that’s been written in this YouTube video.

 

To get the code check out this GitHub repository: https://github.com/ResoCoder/firebase-firestore-chat-app

 

index.js

 

 

Leave a comment


This site uses Akismet to reduce spam. Learn how your comment data is processed.


Development made simple

We're here to help you. If you have any questions, let us know.

Copyright 2017 - 2018 Reso Coder © All Rights Reserved