2

I have to implement chat functionality in my existing app using firebase firestore but there are 2 cases:

  1. create private chat- in this case i have the recyclerview that contain user list while i select particular user then start communication in current user & selected user.
  2. group chat- in this case i have food item list & each food item has user list who send request to that food item now i want to allow current user to create group chat by adding those user who send request to that food item.

how to achieve those thing.

Pratiksha Shaha
  • 133
  • 1
  • 9
  • 2
    If you are using [Cloud Firestore](https://firebase.google.com/docs/firestore/), here you can find a tutorial on how to create a complete and functional [Firestore Chat App](https://www.youtube.com/playlist?list=PLn2n4GESV0Ak1HiH0tTPTJXsOEy-5v9qb). – Alex Mamo Mar 01 '20 at 05:49

1 Answers1

1

There are many ways on how to achieve the Chat application. It will depend on how you want or prefer to develop your database and application in general.

Considering that, I would recommend you take a look at the below articles, for more information and steps on how to achieve that.

These first 3 are more related to your private chat application part, that I think should help you.

This last one, I would recommend you take a look, as it provides more information regarding creating a Group Chat application with Firestore.

Let me know if the information helped you!

gso_gabriel
  • 4,199
  • 1
  • 10
  • 22