How to check if a file exists in Firebase storage from your android application?

前端 未结 5 1795
忘掉有多难
忘掉有多难 2021-01-01 19:38

I am developing android application where a user clicks image, it gets stored in firebase, cloud functions process this image and stores the output back in the firebase in t

5条回答
  •  温柔的废话
    2021-01-01 20:22

    Firebase storage API is setup in a way that the user only request a file that exists.

    Thus a non-existing file will have to be handled as an error:

    You can check the documentation here

提交回复
热议问题