Firebase Storage is giving StorageException while trying to upload images

后端 未结 14 1910
北海茫月
北海茫月 2021-01-13 03:10

I have been trying to upload images to the new firebase storage service . It is throwing StorageException

E/StorageException: StorageException has occ

14条回答
  •  醉梦人生
    2021-01-13 03:51

    I encountered the same issue today.

    • You need to have up to date google play services.

    • At a minimum, Please enable anonymous authentication in firebase console.

    • Steps to follow to authenticate anonymously. https://firebase.google.com/docs/auth/android/anonymous-auth#authenticate-with-firebase-anonymously

    • You can also set bare minimum / no authentication in Rules(JSON in storage tab of console) (but it is not recommended as it is insecure).

提交回复
热议问题