Hi,
I have one use case where I need to send a copy of user uploaded media image file to Firebase Storage.
When I use Postman and upload a file to https://firebasestorage.googleapis.com/v0/b/mediaproject-abcd.appspot.com/o/filename.jpg
it works, I can see the file is uploaded and I can browse the file by copying the provided URL along with access token.
This bucket is publically open for read and write
rules_version = '2';
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write: if true;
}
}
}
But when I trying to upload a file from FlutterFlow call the API and passing the FFUploadedFile to API parameter, I'm receiving 200 Status Code, I'm also receiving expected response back from Firebase but The file is not openable and file size shows 15 B / 2 B only, where my uploaded file sizes are in KBs.
Stuck here for a long time, not sure why it's not working and how to make it work.
Thanks