I don't know why but in my app, the android one requires bucketUrl but iOS one doesn't work the way it works on android. Here is the platform specific code for storage reference. Is it supposed to be this way or am I missing something?
bucketUrl
Future<Reference> get storageRef async { if (Platform.isAndroid) { return FirebaseStorage.instanceFor(bucket: await bucketUrl).ref(); } else { return storage.ref(); } }
1.4m articles
1.4m replys
5 comments
56.9k users