ios - 在 iOS 中实现 FireChat 时图像未上传到 Firebase 存储?

标签 ios objective-c firebase firebase-storage

我正在关注 Google 文档以在我的 iOS 应用程序中实现 FireChat。但是在尝试上传图像时,它在控制台中显示以下错误。

Permission denied. Could not access bucket friendlychat-60f4e.appspot.com. Please enable Firebase Storage for your bucket by visiting the Storage tab in the Firebase Console and ensure that you have sufficient permission to properly provision resources.

这是我的 Firebase 控制台屏幕截图:

enter image description here

请帮助我现在必须做的事情。

最佳答案

默认存储安全规则需要 Firebase 身份验证才能执行任何读取或写入操作。如果您想在没有 firebase 身份验证的情况下读/写,您应该更改此规则。

enter image description here

关于ios - 在 iOS 中实现 FireChat 时图像未上传到 Firebase 存储?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42270375/

相关文章:

java - firebase.auth.PhoneAuthProvider 缺失

Java Firebase 数据库设置

ios - XCode 8,Swift 2.3 返回错误 Could not build module

xml - 将 XSLT 应用于来自 iOS 中的 Web 服务的 XML

ios - 如何获得相对于 ScrollView super View 的 ScrollView subview 的中心点?

objective-c - 实现复制方法 - 复制整行

javascript - Firebase 实时数据库 - 查找和更新

ios - TableView numberOfRowsInSection 返回 0

ios - 将 NstaggedpointerString 转换为 int

IOS 如何更改现有 UI 以使用新的导航 Controller