Making firebase storage public for reading and writing on android

后端 未结 6 1821
梦如初夏
梦如初夏 2021-02-07 00:34

I am new to firebase storage. Can anyone tell me how to make the storage files public for reading and writing?. The default code provided by firebase is given below. What change

6条回答
  •  花落未央
    2021-02-07 01:33

    // Anyone can read or write to the bucket, even non-users of your app.
    // Because it is shared with Google App Engine, this will also make
    // files uploaded via GAE public.
    service firebase.storage {
      match /b/{bucket}/o {
        match /{allPaths=**} {
          allow read, write;
        }
      }
    }
    

提交回复
热议问题