I\'m fairly new to Flutter and haven\'t ever used Firebase before so my aplogies if there is an obvious solution to this.
I\'m working on a Flutter app which invol
Quoting from your StorageException
:
User does not have permission to access this object.
This is what you would expect because your rules state the following:
allow read, write: if request.auth != null;
Firebase uses authentication.
There are two options to solve this:
Either you authenticate your users with Firebase using the firebase_auth plugin
Or you make your files publicly available by changing your rules to allow read, write;
The Storage Rules documentation contains information about integrating Firebase Authentication.