It's working for android but iOS is not working. As you said I have changed the pod file platform to 10.0 after that my Mac was over heating and getting stuck. anyway thank you for the video.
I've got the same error, seem to be due to null safety or something that ships by default as of 2.2. Code is exactly as the example but breaks the app trying to display data. Have you found any solution so far?
I have found the solution... In the new flutter update, we don't need to add .data(). Replace the following lines with the code below, final docData = snapshot.data.docs[index]; final dateTime = (docData["timestamp"] as Timestamp).toDate();
Sir just wanted to thank you so much. I had been stuck 3 days in installing the iOS side, because of the firebase exception. So GLAD I came across this GOLD!!! Also, your way of explaining is just superb-- you got a new sub!
Sir, it's a really great relief to see this kind of tutorial. Will you create one for firebase auth? And integrating it with firestore, so it's kind of a series..
hey man, thanks for the video. I had a problem placing the "apply plugin: 'com.google.gms.google-services'" in the app / src / build.grandle. For some reason it only worked by putting this line at the end of the file. The application ran smoothly, but when compiling various information appears in the debug, such as: W / app.familytuto (7238): Accessing hidden method Ldalvik / system / CloseGuard; -> close () V (greylist, core-platform-api, linking, allowed) W / DynamiteModule (7238): Local module descriptor class for providerinstaller not found. I / DynamiteModule (7238): Considering local module providerinstaller: 0 and remote module providerinstaller: 0 W / ProviderInstaller (7238): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0. [... and much more...] When I refresh everything works fine, but these lines still appear in the debug - in a smaller amount. Is this expected?
everytime I import cloud_firestore in pubspec.yaml, I always get this error, Cannot read property 'app' of undefined at Object.app$ [as app] pls help :
Is there a way to immeditely shut down the services if your Costs skyrocket because of a mistake or something? Or what would be the best next step, if the budget alert gets triggered?
Marcus, I have one line with a problem I could not fix. So this one line is stopping me: final dateTime = (docData!['timestamp'] as Timestamp).toDate(); I am using Flutter 2.5 with NullSafety. I inserted the NullSafety "!" character to assure the value will not be null but it still does not work. I got the following error message: The operator '[]' isn't defined for the type 'Object'. How can I fix this problem?
I was having the same issue. I searched through the other comments and found the answer from Tom Holland: I have found the solution... In the new flutter update, we don't need to add .data(). Replace the following lines with the code below, final docData = snapshot.data.docs[index]; final dateTime = (docData["timestamp"] as Timestamp).toDate();
@MarcusNg This tutorial is really great. I learned many things. Thanks for uploading this video. I am so grateful for this videos and also the comments helped me to solve the problems.
Thank you for this great video, but there is no Xcode for windows users, how to connect the IOS with firebase in windows, could you please clarify how can I do it in windows