After adding an Upload File widget inside FlutterFlow, retrieving the files to view can sometimes returns a blank result.
For example, I ran into this when creating a ‘preview’ of a just-uploaded file. Although the file was uploading successfully to Firebase storage, I was unable to view the file inside the app.
This is a permissions error inside Firebase Storage.
To make files visible to authenticated users, go to the ‘Rules’ tab in Firebase Storage, and replace with the following:
rules_version = '2';
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write: if request.auth != null;
}
}
}