Hey Ayoub!

In terms of security, it can be set in the Firestore Rules and you can customize it so chats are only accessible by users that are a part of the conversation.

Firestore Rules allow you to place conditional access based on the document values. The messaging documents have `userId` and you can check that with the `id` of the user accessing the document to determine whether they should have access or not.

I hope that clears up your question!

Regards,

Shiv.

In my previous articles I have gone over the basics of Flutter & Firebase, including authenticating users with Firebase. …

This article will be covering User Authentication using Firebase. In my previous articles I have gone over the basics of Flutter & Firebase and how you can build a simple application connected to a cloud database. …

In this article, I will be configuring an existing Flutter application with Firebase. This tutorial covers basic setup and CRUD operations. If you have not checked out my previous post on building a Todo List App with Flutter, it is worthwhile to familiarize yourself with it before continuing. …

Flutter is a cross-platform development framework ideal for building mobile applications. Flutter was created by a team at Google and utilizes the Dart programming language. To see who else is building with Flutter you can view their showcase here: https://flutter.dev/showcase.

In this post, I will be explaining how to create…

Yoganathan Shiv

Full Stack Engineer @ Amazon

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store