Here the difference between MySQL and Firestore database is that, in firestore database each document can contain collections as well. The below photo should show the how the database works and relationship between collection, documents, sub-collections, documents and it's users. It does it by defining collection, documents, sub collections and documents.ĭocuments are inside collection, collections are like tables in MySQL and each document would be like a row in MySQL database.Įach documents should contain fields or column. The above video explains how to set a up basic chatting database structure. You may also delete users from Firebase manually. Every time you send a message to another user, a dynamic document is created under message collection.Īll the users are saved in collection called users. We used firebase firestore to store and retreive data. Users and messages are all saved in firebase backend. This feature is available on Udemy course.įlutterfire configure Firebase auto set up Here I have implemented notification feature that covers sound, instant notification, on tap redirect notification, message text field auto update. Here you can tap on a photo and enlarge it. With this you know who you are chatting to. You navigate to other screens and logout. Not only you may send photos on the chat, you may also take photos and send. Currently you send images and texts for chatting. Here you would be able to chat between two people and get instant messages. But you will have issues with Facebook loginįrom contact screen you would be able to see how many people have chatted to before. The paid version app includes both Google and Facebook sign in. We used social networking for launch screen. The last one let's you enter in the login page. You will see it has screen with three slides. Udemy followers will also be able to download resources to download without water-mark.įor routing, middleware and services we used Getx. Notifcations are done in detail in Udemy part. Udemy followers will see how to integrate Apple and Facebook login along with iOS and Android notifcation. Recent version includes Google login, Apple Login and Facebook login. So if you download and install the app, you need to register the app to your own firebase account. Take the whole course on Udemy where I have covered Facebook and Apple Login and notification as the user sends message.Ĭhatting and notification are all done using Firebase. If you just wanna know about them, click on the links and learn on your own free time. Apart from this app, I have used them in other two apps as well. These concepts are must for building any kind of complex app. Some concepts used in this app, which are difficult for beginners. In this chatting app we covered the following screens. Download the source code from the link below. Here we built a chatting app using Flutter Firebase and Getx. If you want to learn about video chatting app click here. Firebase SDK provide great solution for instant notification and chatting. Flutter Firebase is a good option for building chatting app.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |