Flutter Google Maps + Firestore Geolocation - Build the next Uber?

  Рет қаралды 166,967

Fireship

Fireship

Күн бұрын

Looking to build something like Uber? Learn how to combine 🐦Flutter, 🔥 Firestore, and 🌐 Google Maps to create a realtime geolocation system for iOS & Android. fireship.io/le...
Darshan Gowda fireship.io/co...
GeoFlutterFire pub.dartlang.o...
Flutter Google Maps pub.dartlang.o...

Пікірлер: 183
@darshangowda309
@darshangowda309 5 жыл бұрын
Awesome video as always! 🔥🔥 Thanks for the shoutout 🤘🏼🤘🏼
@Fireship
@Fireship 5 жыл бұрын
Keep up the great work!
@hemantht3877
@hemantht3877 5 жыл бұрын
Danyavada gowdre
@aarongardiner1811
@aarongardiner1811 5 жыл бұрын
Darshan Gowda would you be interested in working on a similar project ? For the Caribbean?
@zenakedchef9004
@zenakedchef9004 5 жыл бұрын
@@Fireship Good day is it possible to get the video in HereMaps
@Gigabyteserviceofficial
@Gigabyteserviceofficial 5 жыл бұрын
Dil khush ho Gaya jub ek Indian ka name suna 😍😍😍 thank you..
@Lensbreak
@Lensbreak 3 жыл бұрын
How about scaling? The Firestore is too expensive for a Geo app, isnt it? It's better to use the realtime database where you are not charged on the amount of reads/writes? Let's say you got 1000 users connecting to the map to see each others location (find my friends app). Let's say the location is updated 4 times/minute during 1h. That alone results in 240M reads and costs you 150$ !!! Just for one hour of usage. This seems not plausible. Or do I make a mistake? PS: I did not watch the whole video yet.
@Pratham244
@Pratham244 3 жыл бұрын
Answer, please?
@tapizquent
@tapizquent 3 жыл бұрын
Can someone please comment on this? It does sound like a very expensive approach and not scalable at all.
@umitkirtil
@umitkirtil 3 жыл бұрын
this is exactly what i thought when i see first time those prices on firebase etc...
@william_chidube
@william_chidube 3 жыл бұрын
Valid concern. Shame no response here.
@gameplaystrailers7797
@gameplaystrailers7797 3 жыл бұрын
Can anyone tweet this to flutter
@willzarem
@willzarem 5 жыл бұрын
This is literally the demo I needed to convince my boss to use flutter in our next app. Thanks!
@Fireship
@Fireship 5 жыл бұрын
Nice! Keep in mind the gmaps package is currently in dev preview. Pretty awesome already, but lacking some features.
@willzarem
@willzarem 5 жыл бұрын
I'll keep it in mind, thanks for the heads up! 🤟🏻
@robertstevens7682
@robertstevens7682 5 жыл бұрын
@@Fireship Thanks for your vids. I feel that Firebase/firestore is great for prototypes or POCs (proof of concepts) but how do you feel about using firestore/cloud functions vs (for example) a serverless lambda deployement for production?
@ShivamJha00
@ShivamJha00 4 жыл бұрын
@@robertstevens7682 Firebase is completely production ready
@bas_kar_na_yar
@bas_kar_na_yar 5 жыл бұрын
most of the code in this project is now deprecated. Although you can use the same idea and use it with the current apis
@rubickon
@rubickon 4 жыл бұрын
so, can you give a url for the new doc?
@rcjuancarlosuwu
@rcjuancarlosuwu 4 жыл бұрын
your comment is now deprecated ;v
@williamhumphries2900
@williamhumphries2900 4 жыл бұрын
yes, true, such as target: LatLng(pos.latitude, pos.longitude)
@grzegorzsokalski7328
@grzegorzsokalski7328 5 жыл бұрын
I start loving Flutter cuz of yours videos like that ;)
@jlod004
@jlod004 5 жыл бұрын
Great video, thanks for that. Just letting everyone know that in the plist file i had to change to for it to work, was getting a build error.
@floridosmarpepa8904
@floridosmarpepa8904 5 жыл бұрын
Great video. More Flutter videos would be awesome . Thank you
@floridosmarpepa8904
@floridosmarpepa8904 5 жыл бұрын
maybe more for beginner too ahah.
@lesptitsoiseaux
@lesptitsoiseaux 5 жыл бұрын
Word of advice: current versions won't compile at all. They've changed quite a lot. Ensure you have the exact specific yaml versions otherwise...
@AdemoyeOpeoluwa
@AdemoyeOpeoluwa 5 жыл бұрын
Great, can you please make an uber app tutorial series.
@jefffrazier6813
@jefffrazier6813 5 жыл бұрын
@Fireship, I would KILL to see this refactored with Provider for the radius and streams. Pretty please?
@nobodyprod
@nobodyprod 5 жыл бұрын
I feel that we need more people on youtube like you.
@IsaacLarbiOnline
@IsaacLarbiOnline 5 жыл бұрын
your tutorials are on point man!!, do you have any flutter courses, if not create one, you have one customer, learning from you will be great
@josephsellu
@josephsellu 4 жыл бұрын
Great video. I'm looking forward to seeing flutter used for indoor navigation as much of the navigation packages are based on outdoor geolocator
@yashsavsani3981
@yashsavsani3981 5 жыл бұрын
Some of the widgets attributes does not work after the update...like in googlemaps widget tracecamera is being discontinued ....
@jeroAhumada
@jeroAhumada 5 жыл бұрын
Awesome tutorial, and even more awesome that my home town La Paz is all over the place! We should hang out if you come to visit XD and maybe I can show you a local app I'm building with what I learn from you 👨🏻‍💻🍻
@bahmansalah
@bahmansalah 4 жыл бұрын
thanks for your videos but these codes are undependable and expired please fix it
@yashsavsani3981
@yashsavsani3981 5 жыл бұрын
This video is not much useful now after the flutter update so please can you update this video...as per today's scenario...
@wirunngandee5245
@wirunngandee5245 3 жыл бұрын
Tutorial Flutter Google maps + Firestore Geolocation 2021 ?
@lucafica6905
@lucafica6905 4 жыл бұрын
Thank you, great video. I have a question: is it possible in flutter to let the user add markers on the map and then save it to firestore to make them visible to all the other user? I am making an app where the collaboration of the users in adding marker is crucial. Thank you in advance for your reply.
@tomwoszek9879
@tomwoszek9879 Жыл бұрын
Thanks for this awesome video, but can you explain how to show the data in a listview?
@rafox19
@rafox19 5 жыл бұрын
I'd be really interested in a video about how you plan your projects. What's your workflow ?
@Fireship
@Fireship 5 жыл бұрын
Great suggestion! Thank you
@lesptitsoiseaux
@lesptitsoiseaux 5 жыл бұрын
Make a Udemy course and take my money. Now, the shows up on my phone and I had to enable multidex however it stops immediately with the android message ',,,has stopped'.
@unkownvirtualguy7553
@unkownvirtualguy7553 5 жыл бұрын
You are MADLY underrated!
@gunjanturkar6150
@gunjanturkar6150 2 жыл бұрын
There is error in this line "double distance = document.data['distance'];".. because you can't get distance from firebase as it is never stored.
@sonyblack2474
@sonyblack2474 2 жыл бұрын
you don't need anymore "data", just simply write document['distance'];
@mozesong5264
@mozesong5264 5 жыл бұрын
thanks for sharing this new plugin. the other ones are hella confusing
@riccardo7186
@riccardo7186 5 жыл бұрын
Is there any other way besides using firebase for realtime location tracking?
@divinedela9125
@divinedela9125 5 жыл бұрын
Great and useful video as always..Can't wait for your flutter course
@Fireship
@Fireship 5 жыл бұрын
Thank you, hopefully next month. Currently working on a stripe payments course.
@divinedela9125
@divinedela9125 5 жыл бұрын
@@Fireship yaaaasss
@IsaacLarbiOnline
@IsaacLarbiOnline 5 жыл бұрын
@@Fireship so i just commented that create a flutter course, and i say this comment... it's 3 months .... what's the udemy link, hurry up, don't tell me you disappointed.. i have my visa ready man and i just got paid, don't you want your share of that salaryyy
@jmando01
@jmando01 2 жыл бұрын
Great tutorial however it does not seems to be working anymore. Can you refresh this tutorial? thank you.
@Gideon-el9zq
@Gideon-el9zq Жыл бұрын
You need to update this code
@imdeadlock3297
@imdeadlock3297 4 жыл бұрын
Please Update Code . Now , it's not Working.
@Viral_Doom
@Viral_Doom 5 жыл бұрын
I'm doing what you've done but I am getting the PlatformException (PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 12500: , null)) error
@Learco1996
@Learco1996 5 жыл бұрын
Just what i've been searching for a project i'm working, thanks man!
@moviesrecapwithAI
@moviesrecapwithAI Жыл бұрын
@Fireship it would be great if you could update this.Cheers
@jaredweiss6974
@jaredweiss6974 Жыл бұрын
Great video. This helps a lot in understanding how I'd build an app that a friend is asking me to help him with. Main thing left for me is to understand the cost of this (db reads/writes)
@VirtualCreatorFellowship
@VirtualCreatorFellowship 5 жыл бұрын
Im getting an info.plist error : Encountered unknown tag value on line 46 for value tag after io.flutter.embedded_views_preview
@VirtualCreatorFellowship
@VirtualCreatorFellowship 5 жыл бұрын
I made changes in Xcode instead of plist-- got my build on ~!
@juanmanuelyounghoyos7350
@juanmanuelyounghoyos7350 5 жыл бұрын
Very useful
@MultiECommerce
@MultiECommerce 4 жыл бұрын
Great video, thanks man,
@kelique76
@kelique76 5 жыл бұрын
Hi buddy, thanks for such as great tutorial? BTW how could you build flutter with AndroidX, I got some error due to incompitible dependency. geoflutterfire 2.0.2 is not compitible with my API, it also conflict with other cloud_firestore dependency when i try to downgrade it. Any solution please?
@darshangowda309
@darshangowda309 5 жыл бұрын
Can you open a detailed issue with logs from `flutter doctor -v` on Github?
@AMODERNArcher
@AMODERNArcher 5 жыл бұрын
I have the same problems. I had to change to android studio and refractor to android x
@darshangowda309
@darshangowda309 5 жыл бұрын
@@AMODERNArcher Some of the official libraries have been migrated to androidX, so the same has rippled to the dependent ones as mentioned in the changelog of 2.0.0
@SnowmansApartment
@SnowmansApartment 4 жыл бұрын
the google maps plugin apparently still is in beta. is there an alternative map that i can use for production?
@SamiUllah-tj5hd
@SamiUllah-tj5hd 5 жыл бұрын
Can Flutter provide Google Navigation?
@bosskevin7717
@bosskevin7717 2 жыл бұрын
Awesome video do you have code ?
@jameshilary9887
@jameshilary9887 6 күн бұрын
this is outdated.... any latest video that similar to this?
@samanthkumar1332
@samanthkumar1332 5 жыл бұрын
Thank you Fireship
@mouttafiqimane7346
@mouttafiqimane7346 5 жыл бұрын
thank you for this interesting video it help a lot
@bashbash
@bashbash 4 жыл бұрын
awesome mahn. how about performance? Can a delivery service rely on firebase realtime database to stream multiple live location to thousands of users ?
@jevonsygu1
@jevonsygu1 5 жыл бұрын
Sadly the code doesn't hold up. The Flutter google map changed so much that this video is obsolete.
@rio_rio
@rio_rio 4 жыл бұрын
Hey thanks for outstanding video! BTW what if I need a Future to be returned from geoflutterfire Query, and not a Stream? In situation when we need to query by radius not in real time but only once, using Stream will lead to unnecessary huge bill from Firestore?
@jonreed5431
@jonreed5431 5 жыл бұрын
I'm getting a gray screen: "/GoogleMapController(30612): Cannot enable MyLocation layer as location permissions are not granted." I set up just how you have it. Did you leave out any parts about requesting permissions for > API 26?
@ZeeshanAli-ju2nc
@ZeeshanAli-ju2nc 4 жыл бұрын
i am developing uber like app with firebase i am stuck in some problem can you help me for solving
@TheSILVERVEVO
@TheSILVERVEVO 5 жыл бұрын
Hi Jeff awesome content, can you make a video on using angular and firebase to filter multidata for example category: cars> brand:bmw> make:316> year:2010 etc
@tharukerajapaksha3652
@tharukerajapaksha3652 3 жыл бұрын
explanation is fast like a jet
@eNONO-ot4zh
@eNONO-ot4zh 3 жыл бұрын
Not working for with new flutter null safety😣
@PankajSavaliyaGoogle
@PankajSavaliyaGoogle 4 жыл бұрын
Is there any way for native android and iOS for this function? I used geofire library but it's not much faster.
@ecofriend93
@ecofriend93 2 жыл бұрын
is there a js version of this tutorial?
@MrAvelino2010
@MrAvelino2010 3 жыл бұрын
can you add the polyine to show route between two or more points
@aliakkawi4759
@aliakkawi4759 3 жыл бұрын
Hi and thanks for the tutorial, in my case i need to query locations only once, so is there a way to do it without using a stream? event if i cancel the StreamSubscription, it seems that it is not cancelling the Stream and this causes the app to Freeze. any suggestions please? Thanks
@jameslila1852
@jameslila1852 4 жыл бұрын
how to calculate the distance between my location to a marker?
@pitapita4586
@pitapita4586 4 жыл бұрын
Great job, but what if a user uninstalled the app will you still see a marker ? How do you clear the database in that case ?
@Tengil
@Tengil 2 жыл бұрын
Nice. What if you need more than just geohash and location in database
@HustleWithRahul98
@HustleWithRahul98 4 жыл бұрын
can i use those dependencies free in my app which im going to release commercially
@familyfarmsforever
@familyfarmsforever 2 жыл бұрын
Any updates to this? Looks like I'm getting a lot of errors.
@laughing_boothcodm349
@laughing_boothcodm349 Жыл бұрын
Can you make an Uber tutorial?? Please
@lokeshsaini7377
@lokeshsaini7377 5 жыл бұрын
Again good video on good topic. Thanks again
@91djdj
@91djdj 5 жыл бұрын
The tutorial is awesome!! Any chance to make a video about creating something like the Google Trips app? Especially the map section with this POI - infocards? I couldnt find anything similar on the net until now. 😞
@TheCodebookInc
@TheCodebookInc 5 жыл бұрын
I have already built this kind of app except connecting it to Firestore in flutter but the problem with my app is I m not able to put the marker on a tapped location and get the coordinates of it. Can you please show how to do that?
@Fireship
@Fireship 5 жыл бұрын
There is a pull request for handling taps on the map. So this feature is lacking today, but will probably be available any day now. github.com/flutter/plugins/pull/1121
@TheCodebookInc
@TheCodebookInc 5 жыл бұрын
@@Fireship thanxxx dear Fireship
@storylineteam
@storylineteam 4 жыл бұрын
Again great video! Is there any way to clamp the map and the ability to move in only one country via restrictions?
@basudevnayak4753
@basudevnayak4753 3 жыл бұрын
the amount of information you cover withing scuh short video length is really impressive.
@chiefnoodle
@chiefnoodle 3 жыл бұрын
Slow down dude. You speak too fast!
@graphic-Pixel
@graphic-Pixel 5 жыл бұрын
we need google map 5.7
@adammarez2684
@adammarez2684 4 жыл бұрын
does flutter support animated markers or animated cluster markers?
@victoragrillomunoz8534
@victoragrillomunoz8534 5 жыл бұрын
Hi, I am getting an error in the _animateUser class in this line--> target: LatLng(pos['latitude'], pos['longitude']......it says "The operator '[ ]' isn't defined for the class 'LocationData'
@oscarfranciscoolivamonterr8569
@oscarfranciscoolivamonterr8569 5 жыл бұрын
In the current version you have to change this -> target: LatLng(pos.latitude,pos.longitude)
@GarrisonSiberry
@GarrisonSiberry 5 жыл бұрын
@@oscarfranciscoolivamonterr8569 THANK YOU!
@SrWho1234
@SrWho1234 4 жыл бұрын
you make the whole thing with visual studio code + flutter?
@ashtynmorel-blake3452
@ashtynmorel-blake3452 3 жыл бұрын
Does the geolocation and location package work offline?
@vrexperience8762
@vrexperience8762 4 жыл бұрын
How do you get directions to the destination location on map though?
@mariqacumberbatch528
@mariqacumberbatch528 3 жыл бұрын
Great Video, Is it possible for you to do an updated video? When i try to run the pub get in the pubspec.yaml in with the new versions of the various plugins, there are errors saying rxdart needs to be at its latest version for geoflutterfire to work.. and i used the rxdart latest version, and it still gave the same error
@eNONO-ot4zh
@eNONO-ot4zh 3 жыл бұрын
i have the same problem. are you founded the answer?
@mariqacumberbatch528
@mariqacumberbatch528 3 жыл бұрын
@@eNONO-ot4zh Yes i did, just leave the version number for all the packages empty, for example, say you're using rxdart, just do 'rxdart: '
@vastibrown6717
@vastibrown6717 4 жыл бұрын
Hi guys, super silly question but where can i get the latest version for the dependencies?
@gamingparadox7775
@gamingparadox7775 4 жыл бұрын
dart packages
@VishalDesai711
@VishalDesai711 5 жыл бұрын
How do we do pagination using this? We have thousands of locations?
@710zun
@710zun 3 жыл бұрын
is there any way we can do this without firestore?
@ahsannasir6361
@ahsannasir6361 Жыл бұрын
can u plz update this video
@thetrue1095
@thetrue1095 5 жыл бұрын
How can I do when I need point point like ( + ) to point on the map and drop the Markers?
@JFkingW
@JFkingW 5 жыл бұрын
Another cool Video would be how to use Cupertino and Material widgets based on the current platfotm without having to code everything twice
@Fireship
@Fireship 5 жыл бұрын
Yes, I agree that would be nice.
@aman66939
@aman66939 5 жыл бұрын
MY app is not working, it opens and exit itself
@aasali40
@aasali40 4 жыл бұрын
can you make a video on how to make GeoFencing in Flutter?
@sephyshen2510
@sephyshen2510 5 жыл бұрын
very helpful video which makes me understand how to interact with Firebase.
@barungh
@barungh 5 жыл бұрын
I have become fan of your tutorials, If learning from Brad Traversy's channel is like High School degree , then yours is a Master Degree ☺️ I am always impatient for your new videos, and when watching, I often get overwhelmed. Thanks a lot for your fabulous works.
@Fireship
@Fireship 5 жыл бұрын
Haha, I try to keep most of the content pretty fast and advanced, but still approachable.
@tdoge
@tdoge 4 жыл бұрын
Efficient delivery of the flutter feature I was looking for. Awesome video!
@THEMithrandir09
@THEMithrandir09 4 жыл бұрын
Anybody have an up to date example app like this? The code of this tutorial is mostly deprecated.
@swapnildesai3635
@swapnildesai3635 4 жыл бұрын
please change codes according to new API
@eNONO-ot4zh
@eNONO-ot4zh 3 жыл бұрын
i have the same problem. This code not work now. are you founded the answer?
@swapnildesai3635
@swapnildesai3635 3 жыл бұрын
No
@bonang2152
@bonang2152 5 жыл бұрын
target of url doesnt exit error after downloading project files, how can i solve this
@emmanuelogbewe2334
@emmanuelogbewe2334 5 жыл бұрын
Great video! After adding Firestore I'm experiencing a long build process from xcode.
@vncntjms
@vncntjms 4 жыл бұрын
May I know what font you use in your IDE
@manunoly
@manunoly 5 жыл бұрын
I can't view this video, no, no, to me the next uber is AGM, IONIC, Geofirex, Firestore, I refuse to watch the video, by the way, you're going to continue with geofireX, please, please!!!
@Fireship
@Fireship 5 жыл бұрын
The library in this video is actually a port of GeoFireX :) - I'm still hoping/waiting for Firebase to implement geoqueries natively, it's on their roadmap....
@manunoly
@manunoly 5 жыл бұрын
@@Fireship thanks man, yes, I know that at some point Firebase will implement the native geoquery, I hope it will be as soon as possible. it's a screaming request. for the moment i'm happy with geofirex, It has some limitations, but it works great
@HustleWithRahul98
@HustleWithRahul98 4 жыл бұрын
can i use those packages for free in my app? I'm going to release it commercially
@lucamathevet5908
@lucamathevet5908 5 жыл бұрын
I tried and it doesn't work now, can you update the github please ? :)
@Fireship
@Fireship 5 жыл бұрын
What doesn't work exactly? Open an issue on github so we can help
@Busisanimac
@Busisanimac 5 жыл бұрын
Hey i am a new suscriber looking forward to the uber series in flutter
@lifedreamtv
@lifedreamtv 4 жыл бұрын
Getting the error that "latitude" and "longitude" is undefined @ 7:10
@lifedreamtv
@lifedreamtv 4 жыл бұрын
changed it to "latitude: pos.latitude, longitude: pos.longitude"
@spicybaguette7706
@spicybaguette7706 5 жыл бұрын
lol got a firebase ad while watching this video
@ziasultan8157
@ziasultan8157 5 жыл бұрын
Thank you for your tutorial. Can you please tell me how to get the nearest one only
@swapnildesai3635
@swapnildesai3635 4 жыл бұрын
mine is not adding marker to map
@mattiaesposito5525
@mattiaesposito5525 5 жыл бұрын
you rock but i think you go a little bit too fast 4 my brain to understand what you do :O
@Fireship
@Fireship 5 жыл бұрын
Thanks, yeah I get that a lot :) That's why I put together a writeup to support each video.
@alanjames670
@alanjames670 4 жыл бұрын
I’m never gonna open Xcode again
Flutter - Google SignIn from Scratch
12:06
Fireship
Рет қаралды 107 М.
Top 12 Flutter Tips & Tricks
9:32
Fireship
Рет қаралды 269 М.
Incredible: Teacher builds airplane to teach kids behavior! #shorts
00:32
Fabiosa Stories
Рет қаралды 11 МЛН
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 107 МЛН
Man Mocks Wife's Exercise Routine, Faces Embarrassment at Work #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 6 МЛН
Firestore Geoquery
8:26
Fireship
Рет қаралды 53 М.
Where Are Laid Off Tech Employees Going? | CNBC Marathon
41:28
JavaScript Pro Tips - Code This, NOT That
12:37
Fireship
Рет қаралды 2,5 МЛН
How to Use Google Maps in Flutter Apps - Part 1
28:54
The Flutter Factory
Рет қаралды 62 М.
Getting Started With Flutter Map
20:04
Coding with Raphael De Lio
Рет қаралды 13 М.
Flutter Google Maps: Markers, Polylines, & Live Location Tracking
10:44
HeyFlutter․com
Рет қаралды 27 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 716 М.
Flutter Basic Training - 12 Minute Bootcamp
12:09
Fireship
Рет қаралды 915 М.
Flutter Tutorial - Flutter Google Maps
20:47
whatsupcoders
Рет қаралды 108 М.
Incredible: Teacher builds airplane to teach kids behavior! #shorts
00:32
Fabiosa Stories
Рет қаралды 11 МЛН