React Native Firebase Firestore Tutorial | Create/Delete Post | Delete from Storage

preview_player
Показать описание
In this tutorial, I have shown you to create a post for our react native social app in firebase firestore database. We're storing text and image in firebase as a post and then we are fetching those data in our app to display it on our app home screen. After fetching data authorize user can delete their posts from the app.

So in this tutorial you'll learn how to create/fetch/delete data in the firebase firestore database in react native. Along with it, I have shown how to delete photos from firebase storage.

🛒 Coupon Code: PRADIPDEBNATH

► Timestamps
0:00 Introduction
3:00 Get Uploaded Image URL from Firebase Storage
6:06 Installing React Native Firebase Firestore & Setup it
8:15 Create Post or Add a Document to Firestore Data
12:53 Fetch Posts or Get Documents from Firestore Database
20:54 Handle Create Post without Image/Photo Upload
22:10 Delete Post
27:50 Delete Image Files from Firebase Storage
28:55 Delete Post or Document from Firestore
32:28 After Delete Re-render Home Screen
34:44 Confirm Before Delete the Post
37:28 Format Time with Moment JS

Рекомендации по теме
Комментарии
Автор

Yeah you should do tutorials in expo too..

arghyamondal
Автор

Hello Pradip,

thanks for these wonderful tutorial series, this particular playlist helped me improve my knowledge I would really appreciate if You develop more apps in Expo for further playlist videos... Thanks

gauravkumaryadav
Автор

It's grateful if there is an animation 👌🔥

gururajmoger
Автор

Thanks, this is exactly what I need for my next project!

anvarsaidov
Автор

Your videos are really awesome !!! can you please have a video on payment system ..i mean integration with payment gateway...Thanks

plabanrout
Автор

Great !!! Waiting for more like this... Please complete full tutorial👍

nileshgardi
Автор

Awesome. please sir complete the series with Like and comment part Thanks once again.

shehzaddevtech
Автор

Pradip Debnath, Dude can tell me how to save image into a local storage? I've created a profile UI and using ImagePicker, however en using async storage after a refresh image reset to a default one, I set. Do you have any tips or way to handle this issue? thanks

SACKO
Автор

If your feed is blank put await in front of db.collection it should solve your problem

notchad
Автор

Brother my data is not uploading in firestore production mode

farhatulsk
Автор

thankyou very much sir <3 aprreciatable effort

hammadamin
Автор

Can i follow the same step with an expo react native project?

mkilphewer
Автор

I got error when I upload photo with real device -iOS

Possible Unhandled Promise Rejection (id: 0):
Error: [storage/unknown] An unknown error has occurred. (underlying reason 'Can not finalize upload. Current size is 0. Expected final size is 948149.')
NativeFirebaseError: [storage/unknown] An unknown error has occurred.

MayThazinKhaing-ptcv
Автор

There is a mistake with the Card styles, well, idk if it is just me but if all the posts are very short like just "test 1" ... the card becomes smaller. Like it is not always the same Card size

carlosvillalobos
Автор

Thanks so much sir it's very helpful tutorial please tell me when will you post profile section

Virendrakumar-grgl
Автор

sir How will you increase the size of the picture you are sharing in this..??

alfaizkhan
Автор

Hello, when I click post it only loading but not uploading the image. is there a problem with the posts? can u help me.

jamars
Автор

Why don't you make videos on expo

GOKU-Black
Автор

can we implement the same code in expo

mahnoorasif
Автор

for some reason when I add a new post and go back to the home screen it is not updated, it may be a useEffect error? very good tutorial

gerfersoncoelho