Setting up Firebase Live chat

  1. Login to firebase.google.com with your google account
  2. Create a firebase project if you do not have one. See this video how to create one : https://www.youtube.com/watch?v=0h3oECa2JMg
  3. Paste the firebase config in settings.
  4. Do not disable firebase chat.
  5. The rules of the database should follow this : [ rules screenshot ]
{
"rules": {
".read": true,
".write": true,
"users": {
".indexOn": "status"
}
}
}

6. Now the chat is active.

 

Leave a Reply

Your email address will not be published. Required fields are marked *