Firebase Series: Upload image to firebase storage/database | Part 7 | Android Tutorials

Опубликовано: 11 Апрель 2026
на канале: Coder Pakistan
176
2

Hello guys welcome to another Android Firebase Series Tutorial

Part 7: In this tutorial i will show you how we can upload image to firebase storage.
............... so lets see how can we do that .................
----------------------------------------------------------------------------------------------------
Part 1:
   • Connect app with firebase | Part 1 | Andro...  
Part 2:
   • signup with firebase | Part 2 | Android tu...  
Part 3:
   • login with firebase | part 3 | Android tut...  
Part 4:
   • Upload data to firebase database | Part 4 ...  
Part 5:
   • Retrieve data from Firebase | part 5 | and...  
Part 6:
   • Firebase phone authentication with otp | p...  
----------------------------------------------------------------------------------------------------------

Download Files:

https://mega.nz/#F!YWpFQCLK!mGHT4UoyM...

----------------------------------------------------------------------------------------------------------


----------------------------------------------------------------------------------------------------
Dependencies:
1) com.google.firebase:firebase-storage:17.0.0
2) com.squareup.picasso:picasso:2.71828
-----------------------------------------------------------------------------------------------------
Rules:

1)If you are using Firebase authentication(Already Login with Email,Phone,Gmail) and then you want to upload image then use these rules

service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write: if request.auth != null;
}
}
}

-----------------------------------------------------------------------------------------------
2)If you are not using Firebase authentication and upload directly to firebase then use these rules

service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write;
}
}
}

------------------------------------------------------------------------------------------------------

Give your valuable suggestions in comments

If you like the video....Like it , share with your friends and subscribe my channel

Thanks For watching
-------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
Instagram:
  / coderpakistan749  

Facebook Page:

  / coderpakistan  

Facebook Group:

  / 1012776525586027  

----------------------------------------------------------------------------------------------------------

#Uploadimagetofirebase #firebaseandroid #coderpakistan