Relative Content

Tag Archive for flutterfirebasedartgoogle-cloud-firestore

Creating Pagination for Messenger in Flutter with Firestore

I’m struggling to create good pagination for my messenger app. I used the FirestorePagination library, but after each new message, the entire screen is re-rendered, and a read request is made to the database. As a result, after 5 minutes of using the messenger, the database has 1k reads and 5 writes. I’m not sure how to handle this.

Creating Pagination for Messenger in Flutter with Firestore

I’m struggling to create good pagination for my messenger app. I used the FirestorePagination library, but after each new message, the entire screen is re-rendered, and a read request is made to the database. As a result, after 5 minutes of using the messenger, the database has 1k reads and 5 writes. I’m not sure how to handle this.

Creating Pagination for Messenger in Flutter with Firestore

I’m struggling to create good pagination for my messenger app. I used the FirestorePagination library, but after each new message, the entire screen is re-rendered, and a read request is made to the database. As a result, after 5 minutes of using the messenger, the database has 1k reads and 5 writes. I’m not sure how to handle this.

Firestore snapshots not showing up in the application

Before I explain the problem, I’m currently making an e-diary app that detects emotion through certain keywords. The app has a sign in and register page (for authentication), along with a ‘homepage’ (read: page navigator) that allows seamless transition of dashboard, calendar, statistic, and image page using bottomNavigationBar but even then…when I want to sign out of the app, I have to manually close and re-open the app so it goes back to the sign in page.