3.5 Firebase Storage Setup
From your firebase console, go to Build>Storage and then Click on Get Started, and then select start in production mode and Next>Done.
Now, go to the Rules tab and copy and paste the following code there.
rules_version = '2';
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read: if true;
allow write: if request.auth != null;
}
}
}
3. Click on Publish to publish the rules.
Last updated
Was this helpful?