[英]Is there a way to change the default Firebase Storage Bucket?
I know there are already similar posts about this topic but they do not cover it completely.我知道已经有关于这个主题的类似帖子,但它们并没有完全涵盖它。
This one is the exact question I have but the answer is not about changing the default bucket but changing your app's config to use that bucket. 这是我的确切问题,但答案不是关于更改默认存储桶,而是更改应用程序的配置以使用该存储桶。
This one also has the same question but the answer is just about how to delete the bucket. 这个也有同样的问题,但答案只是关于如何删除桶。
What I want is a way to change the default bucket so that any app I use from my firebase project will use this default bucket.我想要的是一种更改默认存储桶的方法,以便我在 firebase 项目中使用的任何应用程序都将使用此默认存储桶。
But if that wasn't possible, this is what I have tried so far:但如果那不可能,这就是我到目前为止所尝试的:
Make sure that when you make changes to the google services file, you do flutter clean and pub get packages.确保在更改 google 服务文件时执行 flutter clean 和 pub get packages。 Then it will take effect,
然后就会生效,
I had an issue with the firebase storage bucket and I wanted to change to a storage bucket from another firebase account.我的 firebase 存储桶有问题,我想更改为另一个 firebase 帐户的存储桶。 I did and make v=chages to the google services file but until I did flutter clean I was not able to see changes.
我做了 v=chages 到谷歌服务文件,但直到我做了 flutter clean 我才能够看到变化。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.