From the course: Firebase Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Uploading review photos

Uploading review photos - Google Cloud Tutorial

From the course: Firebase Essential Training

Start my 1-month free trial

Uploading review photos

- [Instructor] The next thing that we're going to do, now that we've seen the uploading flow once, is we're going to allow users to upload photos along with the reviews they write. If you notice, when we clicked on this WRITE A REVIEW button and went to the Write a Review page, we had this file picker here, and this isn't currently hooked up to anything. So in this video, that's what we're going to do. Now, the flow for this is going to be pretty similar to what we saw with uploading a profile picture with a few differences which I'll point out. The only changes we're really going to have to make are going to be on the front end. So let's open up the WriteAReviewPage here, and all we're really going to need to do is inside this onClickSubmitReview function, here, we're going to have to add logic for uploading files to cloud storage. So the first thing we're going to do is go up to the top and along with mapAsync and…

Contents