Can't find files when bucket is provided
When I try to instantiate the storage with a custom bucket a object not found error occurs when trying to upload or receive metadata, etc.
var storage = FirebaseStorage.instanceFor(
app: cloudStorageApp,
bucket: 'gs://...'
);
Error message:
flutter: [storage/object-not-found] Object 'path/to/object' does not exist.
I double checked that there is a file in the expected location in firebase console. When I use the default bucket it works perfectly fine.
Having the same issue. Has anybody solved the issues? Please I need help. Thanks
When I try, it works. However, it fails when the bucket url is not formatted correctly. It should either be 'bucket-name' or 'gs://bucket-name/'. So, with a trailing slash and without a path. I will change this in the next version to also accept urls without the trailing slash.
Can you confirm that it works with a correctly formatted bucket string?