Firebase在Firefox扩展中用于Google Auth的用途

时间:2019-04-20 14:39:06

标签: firebase firebase-authentication firefox-addon

我正在尝试在Mozilla Firefox扩展程序中使用Firebase进行Google身份验证。 但是,它引发此错误: This operation is not supported in the environment this application is running on. "location.protocol" must be http, https or chrome-extension and web storage must be enabled.

经过一番研究,我发现:

1)Firebase不支持Firefox扩展。

2)无法添加moz-extension://

以下是一些相关问题的链接:

目前有任何解决方法?发现问题已经有一年了……我需要完全使用Firebase进行身份验证,因为它共享公共数据库。

1 个答案:

答案 0 :(得分:0)

Firebase 目前不支持 Chrome 之外的扩展环境,例如 Firefox 插件和 Safari 扩展。

您可以在 this page 上查看受支持环境的完整列表。

没有任何方法可以解决此问题,因此您暂时可以提交功能请求以获取 Firebase 对其他环境(例如 Firefox 插件和 Safari 扩展程序 here)的支持。

>
相关问题