我是firebase存儲新手。任何人都可以告訴我如何使存儲文件公開閱讀和寫作?下面給出了由firebase提供的默認代碼。我應該做什麼改變?製作firebase存儲公開在android上閱讀和寫作
service firebase.storage {
match /b/image-view-b1cf5.appspot.com/o {
match /{allPaths=**} {
allow read, write: if request.auth != null;
}
}
}
這並不提醒我們,我們的存儲是公開的,因爲它在火力數據庫一樣。你確定這是公開的唯一途徑嗎? – ashay
@ashay:如果您需要提醒,請在規則中添加評論。 –