- Jun 6, 2020
- 11,517
- 4,383
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:
i upoaded r.txt to public folder.
(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.
برای دیدن لینک ها باید ثبت نام کنید