I am new to firebase storage. Just so I could learn it, I made a simple app that has a button and an ImageView
. When I click on the button, an image (from
I am adding this answer hoping it will help someone, in Firebase:
go to "Storage"
Select "Rules" tab and edit rules as per below:
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
// Allow access by all users
allow read, write: if request.auth != null;
}
}
}
Note: make sure you have it exactly as above, do not replace {bucket} for your project name.