Android Question firebase storage: upload and delete done but download error

hamed2100

New Member
in the firebase storage my app can upload and can delete a file but download error:

(IOException) java.ioException: could not open resulting stream.

My rules:

rules_version = '2';
service firebase.storage {
match /b/*****.appspot.com/o {
match /public/{allPaths=**} {
allow read, write;
}
match /pread/{allPaths=**} {
allow read;
}
match /pwrite/{allPaths=**} {
allow write;
} }}

B4X:
Starter.storage.DownloadFile("/public/r.txt", File.DirInternal, "r.txt")

i upoaded r.txt to public folder.
 

hamed2100

New Member
thanks Erel.

i found it.
in some countries storage.download not working!
Although storage.upload and storage.delete is working
 
Last edited:
Upvote 0
Top