Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

1 vote
1 answer
22 views

Flutter retrieve firestore data in model

I have been following a tutorial on creating a food ordering app. In the tutorial, there is a restaurant model file that includes the the menu items. final List<Food> _menu = [ Food( name: ...
Ken Roberts's user avatar
0 votes
1 answer
19 views

Flutter X Firebase - Fetch user's location from Firebase Cloud Functions [closed]

I'm currently developing a Flutter app that utilizes Firebase as a backend for user authentication (Firebase Auth) and data storage (Firebase Firestore & Firebase Storage). The app's purpose is to ...
Furiy's user avatar
  • 43
0 votes
1 answer
14 views

problems with batch in firestore

I have a folder inside firestore with a list of uids. I want that when the user creates a new event, a new firestore "notifications" folder is created located in each uid of the user. I have ...
David Fernandez Riaza's user avatar
-4 votes
0 answers
29 views

Which is more suitable for sending push notifications based on Firestore updates: OneSignal or FCM? [closed]

I'm working on an app and need to implement a feature that sends push notifications if a Firestore document hasn't been updated for a certain period of time. I'm considering using either OneSignal or ...
Tom's user avatar
  • 163
0 votes
0 answers
25 views

Getting unknown error when updating a document in cloud_firestore using update method

I'm using below code to update a document but getting an unknown error. I have searched through internet and did not find any explanations of this error. final db = FirebaseFirestore.instance; String ...
pbs_mhl's user avatar
  • 42
0 votes
1 answer
21 views

Flutter set record with server timestamp as key

I need to add field to document when key is the Firebase/Firestore server timestamp. The only working solution i found till now is first create record with timestamp as value with FieldValue....
Vitaliy A's user avatar
  • 3,823
0 votes
0 answers
35 views

How to search by multiple filters with Firebase in my Flutter app?

I made a search bar for my Flutter App and put a filtering button next to this search bar. When the user clicks on this filtering button, a 'bottom sheet' will open on the screen and user can select ...
Hüseyin KARABULUT's user avatar
0 votes
0 answers
15 views

Module cloudfirestore not found

I have a flutter app and I receive the next error when compiling to sign in ( run it ) and probably it's because of pod file Error output from CocoaPods: ↳ [!] Automatically assigning platform `...
sanda17's user avatar
  • 77
0 votes
1 answer
20 views

How do we make sure "adding user details to 'user' collection on createUserWithEmailAndPassword success" is ATOMIC in Firebase (Flutter)

I am trying to create a user in "users" collection on Firestore, once Firebase createUserWithEmailAndPassword is successful. I want to make this atomic like deleting the created user(how). ...
ESTeR9's user avatar
  • 13
-5 votes
0 answers
28 views

How to make teams of users in flutter? [closed]

I want to create an app note where I need to send notes to another teams, how I can send these notes to a specific team, and how I can add users to this team using flutter and firebase. the note ...
Achraf boussalem's user avatar
0 votes
0 answers
35 views

For riverpod provider with arguments, does it matter, using which arguments we call a side effect function?

When we call ref.read(someProviderWithArgs.notifier).performSideEffect() , can we use any value of arguments to do that? Example: Given a provider below with arguments, does it make a difference If a ...
pbs_mhl's user avatar
  • 42
-2 votes
0 answers
42 views

IOS 15 Pro Max Simulator Bug

I am using flutter / riverpod and debugging my app by manually changing the data in firestore. But my changes are not being reflected in my IOS simulator app? I keep getting the old value or state ...
Rob Kara's user avatar
0 votes
0 answers
27 views

Firebase Authentication Sign-Up Not Working in Flutter: 'Given String is empty or null' Error"

I am trying to use the Flutter Firebase Signup method in my application, but it is not working as expected. The value of Textformfields is null according to the app, while there is still text written. ...
Syed Mujtaba Ali's user avatar
0 votes
0 answers
23 views

How can I create a function to update the block data automatically in Flutter?

how are you, I am a novice developer and I am currently creating an app, in which I use Bloc Patter, I am obtaining data that is displayed on a main screen from Cloud Firestore and so far everything ...
Gorge Reyes's user avatar
0 votes
0 answers
56 views

Firebase firestore method causing incorrect values in database

This is how I run addPhoneNumber method if (await canCheckIn() && mounted) { _checkIn(); } Future<void> _checkIn() async { //canCheckIn is a ...
A.J's user avatar
  • 726

15 30 50 per page
1
2 3 4 5
638