🔴 Let's build Uber 2.0 with REACT NATIVE! (Navigation, Redux, Tailwind CSS & Google Autocomplete)
HTML-код
- Опубликовано: 13 май 2024
- 🚨 Join the world’s BEST developer community & course Zero to Full Stack Hero: www.papareact.com/course
🫂 Join my Community, "University of Code" for FREE: www.universityofcode.com
🔴 LOOKING FOR THE CODE? 🛠️
links.papareact.com/github
📩 Want coding problems (with solutions!) delivered to your inbox daily? www.papareact.com/dailycoding...
---
The much-anticipated build is FINALLY HERE!
Join me as I build the UBER CLONE with REACT NATIVE (yes we're building for iOS & Android!), you'll learn how to do the following in this build:
👉 Use Tailwind CSS with RN for awesome styling!
👉 Use the Google Distance Matrix API to calculate Travel time and Distance (+ Cost!)
👉 Use the Directions Google API for real navigation!
👉 Use Google Places API for real navigation!
👉 Use apple & google maps for iOS & Android
👉 Use React Native Navigation to navigate between screens!
👉 Use React Native Elements to elevate your app design!
+ SO MUCH MORE!
🎙️ PODCAST
links.papareact.com/podcast
🌍 SOCIALS:
Instagram: links.papareact.com/instagram
Facebook: links.papareact.com/facebook
LinkedIn: links.papareact.com/linkedin
Twitter: links.papareact.com/twitter
Discord: links.papareact.com/discord
Newsletter: links.papareact.com/newsletter
❤️ SUPPORT
PAPAFAM Merch: links.papareact.com/merch
Donate: links.papareact.com/donate
🕐 TIMESTAMPS:
00:00 Introduction
01:00 Build Showcase
03:26 Build Explanation
08:59 Setting up Expo
14:57 Initialising the Build
23:33 Setting up and Implementing Redux
44:01 Building the HomeScreen Component
55:41 Building the NavOptions Component
1:14:44 Implementing React Native Navigation
1:27:13 Implementing Google Autocomplete Library
2:00:34 Building the MapScreen Component
2:04:27 Building the Map Component
2:17:04 Building the RideOptionsCard Component (1/2)
2:18:33 Building the NavigateCard Component (1/2)
2:29:06 Implementing the Directions API
2:38:06 Building the NavFavourites Component
2:46:25 Implementing Keyboard Avoiding View
2:50:34 Building the NavigateCard Component (2/2)
2:57:12 Building the RideOptionsCard Component (2/2)
3:17:38 Implementing the Travel Time Calculation
3:26:13 Implementing the Price Calculation
3:32:58 Building the Menu Button
3:35:32 Bug Fixing
3:36:42 Final Build Demo
3:40:45 Outro
DISCLAIMER: This Video is made for informational and educational purposes only. We do not own or affiliate with Uber and its subsidiaries in any form. Copyright Disclaimer Under section 107 of the Copyright Act 1976, allowance is made for “fair use” of this video for educational purposes.
#reactjs #reactnative #redux #tailwindcss #tailwind
📬Do you want DAILY coding problems sent DIRECTLY to your Inbox? (with solutions the next day) 👉 links.papareact.com/university
hello sonny, i dont have any experience and knowledge in making app, can i learn about this one? do you have school? thanks
Pppp
hello sunny, in this video shown only one tab get a ride, what about uber order food??. if it done please can share video link in reply please.
@@musa7801 ط حطي يپلاؤغئع
This single video is equivalent to almost all the paid react-native courses. Thanks a lot, Sonny for sharing this and putting all your time to explain and create it so well :)
Were you able to implement google autocomplete using the google places API ?
Mailman delivering once again. Can't wait to try out React Native. Thanks for dropping all this knowledge.
This stream is honestly so well done man, thank you for all your content this was so helpful for implementing a bunch of functionality in a similar app I'm building.
I've finally been able to block out the time to fully watch this video and practice along. Thank you so much for sharing your knowledge. You are amazing at breaking down new topics and making them easy to understand.
The way he acknowledges donations is really awesome.
Got to know react due to you a year ago and now I got my first client due to you ! keep making these builds man 🔥❤️
LOVE YOUR ENERGY🔥
love your energy and you have been 100x times more helpful than most of the react native content on youtube. thank you so much!
THANKS !! ive been learning react native in the past 2 month and alot of my progress come from what i learned here !
If you are using the Android emulator to follow this tutorial you might have issues with the back button @3.02.57 ish. Evidently you could make two blunders. 1. Is to import {TouchableOpacity} from 'react-native-gesture-handler. The recommendation unless you know what you really wnat to do is to import it from import {TouchableOpacity } from 'react-native'. Once you have done that then using the absolute positioning may also cause the back button < chevron not to fire, in this case place the textbox before the TouchableOpacity component. This applies only for Android. The ecosystem is a little finicky especially with the expo wrapper, but for what you are getting it's well worth the few bumps in the road.
I was stuck on this part so thank you very much for your advice 👍
The solution also blocks navigation to NavigateCard.
Thanks a lot bro! Didn't think the comment section would become the perfect stack overflow forum lol👍
To fix the button placement you could also replace top-3 in the TouchableOpacity to bottom-2 and that should be perfect!
@@TheEliteBeats
it is a z-order issue for sure. I could have made that more clear, but didn't want to affect the look and feel too much
I was waiting for this. I'm salivating...this is my moment!! You are the best....and you are changing lives!
Excellent work, thanks for taking the time, they are not short videos, and it takes a lot of effort on your part, there really is a lot of work behind it, greetings from Argentina.
Content is amazing. Thank you! Production level tutorial projects are not common so I really appreciate your content.
I love how you explain and strucutre your projects, I really like to see them after my work hours or in my free time. Really educational. This time I tried to follow your tutorial, but changed some things instead of following you, added extra additional features and used mapbox instead of Google Maps, added authentication and a small backend. This is my first time working with react native. I learned a lot from your video also helped me understand lot more things at the same time. Respect brother
I havent watched these vdieos but can you tell me if they just code frontend or they include backend also?
@@kshitizbathwal7509 It's just frontend but some of his videos contain Firebase backend
Giving hearts to all the comments, so nice of you man. Keep up the good work and give us more stuffs like these ❤️❤️
You rock man!! 💥 I was gonna start learning Android Studio. But I think after react , React Native is the way to go.
I have a react native app project that's bugging me, especially as a beginner. Your video is far better than anything I've come across! The explanations, the simplicity, the pauses to shout out your donors😅... Massive love from Kenya🇰🇪
Hi sonny , hope you fine dear m you guys are so incredible . I was always in MAPS in React Native , and you solved this issue, May God bless you. Make some more awesome stuff like that
Here I am wishing you made this using flutter, I'm glad I know react too because you've seriously made me question my love for flutter. This is really Awesome!
I coded along and I'm finally done.
Impressive :)
Papa Fam for life ... So pumped for this you are really changing lifes thank you so so much Sonny ... Love from Pakistan
The error stating that setOrigin is not a function is resolved by naming the reducers object inside navSlice as "reducers" with an "s" instead of "reducer". Thank you and keep it up 👍
This comment went a very long way. Thanks a whole lot
thanks)
Thanks so much! You the best my man, had spent the last hour trying to debug this.
You're a beast, thank you
this could be easily prevented by using Typescript. Since TS yell when you mistype param name
Wow i like how you handle Map navigation , travel time and calculating amount and distance that's awesome ,,, keep up the good job,, to those who are looking for tutorials in relations to react native map navigation, this is the right video for you..
Hi Sonny, I'm just 30 mins into this video, And i realize you bare super smart, with the way you explain, its almost as if you are the one who came up with the uber idea. definitely building this as soon as i get the fundamentals down.
As a Fullstack dev with quite a lot experience but no React Native, you helped me a lot with getting into React Native! Thanks. Went smooth from 0 to 100. You saved me days and weeks from creating my prototype!
Sonny, the beast. OMG, this build was epic
Sonny you are amazing as always! Thanks for everything
For the ones who got the error of navSlice.origin is not a function: you probably put your reducer like this:
export const navSlice = createSlice({
name: 'nav',
initialState,
reducer: {
But when Sonny Sangha Copied his working file code and pasted it on the navSlice
The reducer looks like this now:
export const navSlice = createSlice({
name: 'nav',
initialState,
reducers: {
There is gonna be an "s" after the reducer
and on 3:02:53 the change there was the z-index: 50 on the style or z-50 for tailwind
I hope i helped!
Thank you man!!
Thank you for sharing this right now; most students are interested in taxi booking app development for their college projects, and you are assisting them with this tutorial.
Really amazing Sonny, thanks for the class bro 🤛🏽
one of the best channels I watch to learn! thanks for the content sonny.
Dude this channel is SO UNDERRATED It should have like atleast 300k SUBS
Great video. But when you troubleshoot can you not paste your old code because you might not notice a change but for ppl following along it doesn’t fix the bug. For example, if you go to 1:59:32 on line 12 reducer is changed to reducers. Took me 30min to figure out. Lol. Really like your videos tho, good job and thanks for making them. 😃
Crazy Stuff Sonny please extend this build if you can like dashboard for drivers etc/
Yeah that will be sick
Thank you Sonny for this amazing course!
One of the best clone ever build for react native
This stream is honestly so well done man,
Hey Sonny~ your contents are always awesome!! Thanks for this great work !!!
Thanks for tuning in dude!!!
Best build indeed. Good stuff man.
Oooh Papa React I missed the stream but this is sick man.. Thanks man
Could you pleaseee share the playlist in your background? I love it!
Edit: Missed the newsletter part. I've signed up for it! Thanks
After watching your builds, development seems like a cakewalk.
Keep it up sir, waiting for the video in which you use ML with Native App.
❤️❤️
This is exactly what I need thank you so much, you are a legend.
Crazy build!! Can u add some features like real time location tracking and driver dashboard
I don't know much about coding but this dude's vibe is inspiring me to learn.
Love this channel.Teaching is an are of making topic interesting and that's what you are doing ❤️❤️❤️❤️
Thanks Sonny - The real-world examples are a great motivator.
No No No No, This is too good. When I hear you say Redux Toolkit, I'm like you nailed it, man. Thanks Sonny
Sonny I've done a few of your videos. They're always great. However it would be nice if you'd do a React Native video at some point that is just an hour long. Something simple to cover the basics of your preferred setup, then deployment and app store upload. Thanks for all the work you do 🙏
When sangha drops a video. First thing you do is drop a like and then continue. Remember this process is a must. Appreciate the free contents guys please.
Im 2 years late, but this is still an amazing and probably the best uber clone, not talking about how accurate the app looks like, i mean the instructions and the code functionality and the explanation on what to do and why, Love you Sonny, you're the best
Hello, i'm amongs the very few that my code isn't running. Can i have uses because starting all over again will be too long
@@krys_gaming476 well what do you mean by your code isnt running? honestly that could be due to many things, its pretty hard to guess what went wrong, but if i have to guess. i'd guess you didnt get a google maps key properly which would lead to unexpected errors
actually its the redux making my code not to funcion properly, everytime i Use the "Provider", it nshows me errors on expo go. Been sending the issues to AIs but all say theres no problem found
@@Cookies-cv3nd
I would like to cooperate with you. Do you need kitchen knives? If you need, please contact me. Our brand is inviting customers to evaluate kitchenware for free.
This guys is god of many developers ❤️
How can u smile while coding . u r awesome dude
Good stuff bro, I just completed whatsapp-2.0 build
God may bless you really, there is none course in udemy like this, you saved my life because I am founding my startup in the field of transportation and I need this kind of stuff and also straight to the point since as startup we don't have that much time
Incredible Tutorial. Thank you so much.
I like your format G! Nice Video and good vibes!
finally, i have been able to complete a build thanks to this tutorial! This has given me so much confidence as a beginner
I like your recording setup and you're really pumped!! very captivating
Just finished this build, this was awesome, and the best part of it for me was the debugging of the issues I encountered. Great learning tool for anyone.
hey bro where can i find images like the uber car?
While trying to use Google API from India, it was not giving out any search results. I then created a different billing account and set the account country as US, now its working properly. Amazing approach you have, bro. You clear concepts so clearly. Im definetly more clear in RN because of you.
Hey! I am facing the same problem can you tell what address did you mentioned while opting for different country?
At 3:03:05, if you are facing the issue where your back button is not clickable, the fix is to add change z-index of your back button. Add "z-50" to the tailwind styles of the back button
Thanks you have saved me tons of time there
thanks man. u made it seem so easy
Nice project I finished it today, adjusting everything to the current best practices. I hope that you can do more react-native in the future. Greetings from Mexico!
Hi, Gerardo. Please how did you go about the navSlice file? did you copy what is on redux documentation? its different to what sonny did, maybe that is the latest one. Or you typed what is on sonny screen
@@oluwatobisamuel247 which part exactly? I think that part did not change at all, but let me know exactly where so i can help you
@@gerardomedellin4355 @Gerardo Medellin thanks for your response Gerardo. I passed through that process. I'm currently having a blocker at the Navigation part. from min 1:15:00
Hey all if you are having trouble with the navslice reducer setOrigin function giving an error as undefined. It seems that in the navSlice.js file you have to rename reducer to reducers. Hope this helps!
Nice work! Very entertaining and helpful, greetings from Chile!
Wow everyone here is really smart! I just stumbled upon this channel by mistake - bless you all!
Hello Sonny, Thank you so much for this awesome tutorial what an amazing build! I have implemented several builds from your channel and it is helping me out a lot. I just wanted to point out to you and everyone that the error that occurred @1:58:49 stating that setOrigin is not a function is resolved by naming the reducers object inside navSlice as "reducers" with an "s" instead of "reducer". Thank you and keep it up 👍
Thanks for this, he just copied and pasted over the code to fix it instead of debugging lol
I've just seen that difference (reducer - reducers) and came to the comments to see if someone else saw it lol
thanks for your help, it took me lots of time lol
@@kikombehome7873 SAME
thanks a lot. Came over to the comments to see if someone also realised it. Been stuck on this bug for hours . Thanks a million dude
At 1:59:25, what changed was in the createSlice object parameter, you were passing in "reducer" instead of "reducers" as an object property. It wasn't a refresh issue.
Thanks
Thank u so much i was struck there :)
Life SAVER!!!!!
Thank you so much.😊
thank you men i was searching for a while
Você é bom no que faz, parabéns papa react
Ele não percebe Portugues
Translation: You are good at what you do. Congratulations, Papa React.
Love it! Good job man 💪
I only can say...!awesome video!
I watch it completely and I have learned a lot!
❗️Get my React Basics 101 class for FREE here: skl.sh/2Srfwuf
Hey sonny do a video about how to make a zoom clòud meeting web app.please
Can you please make a uber clone || {live tracking functinality} in MERN Stack or Only in REACT.JS
I'm already on my way
Sunny Bro, I found the changes u made on ruclips.net/video/bvn_HYpix6s/видео.html
reducer ===> reducers
Please make a video for setup React Native with Android studio in Linux. I watch a lot of tutorials, but I can't set up it.
Bro this guy is giving all the cool jazz for free ?! All my support dude ✨
You rock man!! I was gonna start learning Android Studio. But I think after react , React Native is the way to go.
I would like to cooperate with you. Do you need kitchen knives? If you need, please contact me. Our brand is inviting customers to evaluate kitchenware for free.
Love this ❤. How would you do the drivers side
I love how I always get back to this video to setup my .env file. Thanks Sonny
I still have issues with the setup of mine
After setting both markers for origin and destination, I am unable to zoom into my map, also the map directions flickers, am I the only one facing this issue ?
This is so great!!!! much respect
Best tutorial. Hope you many video react native ! Thank you bro
JA QUERO A PARTE 2!!!!!!!! KKKKKKK SENSACIONAL
I know it is an old video, but for people that get the error: [TypeError: 0, _navSlice.setOrigin is not a function (it is undefined)].
There is actually a change :
You resolve it by naming the reducers object inside navSlice as "reducers" with an "s" instead of "reducer".
This was amazing! 🍿🎉
Nice video sonny, i learned so much about react js. Sonny, please also make a video on how to make google lens clone( products recommendation by analysing photos).
Nice Build Sonny Can't wait to try out react native and can you consider adding firebase security in your next build please 🙏
I finished the Uber app. Do you know if I can upload it to firebase similar to the airbnb app or would I need something else?
You are amazing bro. Father of React. Love from India.
You are helping so many people react papa thank u so much love from india
Unfortunately, I realized that I cannot use a custom javascript core as I am using a standalone application with the expo.
I'm sure some people will encounter the "Can't find variable Intl" failure message because it works with the expo in the android emulator.
You can fix the problem with the following steps:
yarn add intl
import 'intl'
import 'intl/locale-data/jsonp/en-GB'
You're the best!
I really enjoyed your clone videos..That's are awesome..I learn a lot from those. Will you please make a video about how to send notification using expo & firebase ? There are no tutorial about it on youtube.
By the way, this tutorial is fantastic, I'll be watching all of your tutorials from here on out, so just consider this a friendly observation for your student audience.... something did change when we the setOrigin is not a function error appeared (around 1:59:00), it was the spelling of reducer(s) in the navSlice file. Hope this helps, took me a bit to catch that
Thank you! got stuck here for a bit
thank you so much! I was having a trouble with this one
he aprendido mucho mas aqui, que tomando otras formaciones muchisimas mas caras..
gracias Sonny por la forma tan practica de llevarlo a cabo.....( si tan solo te hubiese cruzado antes 2022 !!! )
Thank you so much!! 🔥 #PAPAFAM
finally i clone this whole project thanks sonny for this project
Hey Sonny! Have learnt React from you. Have learnt NextJS from you. Would be wonderful if you can plan a new build using typescript.
Yeah TS would be amazing!🙌🏻
This is actually pretty dope
LOVE YOU SONNY YOU ARE THE BEST REACT TUTOR
At first I thought ppl are donating to you, but then realized, no, they are donating to your knowledge and hardwork. Man is nothing without it
I’m sorry what does this exactly mean?
@@SonnySangha its just that I was wondering that why ppl r donating so much, and, then I realised that they are giving money because the get something from you.
Donations were for the knowledge u giving us,
@@SonnySangha and man i want to thanks too. I found ur tutorial exactly when I had a project with those functionalities required
Wanted to learn react native, decided to go to the best channel to do so
That was sicl :D. Thanks for this challenge.
Damn this is so dope!!!💖💖
Yes beautiful n u r cute😘🤗
woow papa-react this is amazing
Best In Class, Sonny is Coding Rockstar