0
I have a problem trying to set an image of Storage on ImageView
from Android Studio, this error appears in logcat:
User does not have permission to access this Object. Code: -13021 Httpresult: 403 ľ "error": ' "code": 403, "message": "Permission denied. Could not perform this Operation" }} java.io.Ioexception: ? "error": ? "code": 403, "message": "Permission denied. Could not perform this Operation" }}
The rules are set for everyone:
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write: if request.auth == null;
}
}
}
0 vote against Accept I left the rule out for all service firebase.Storage { match /b/{Bucket}/o { match /{allPaths=**} { allow, write: if request.auth == null; } } }
– dangelo1985
Try it this way:

service firebase.storage {
 match /b/{bucket}/o {
 match /{allPaths=**} {
 allow read, write;
 }
 }
}
– Marivaldo Vivan
It worked out, thank you very much
– dangelo1985