firefox私有模式下的Firebase远程配置错误反应了网络

我使用React和Firebase为大学做了一个小项目。在Chrome和Firefox的默认导航中,使用带有标志的参数的最具体的远程配置可以正常运行。

在Firefox中,私有模式远程配置未运行。此状态仅为“踩踏”状态,不会进入React的.then / .catch / .finaly。

console.log(remoteConfig.fetchAndactivate())
    remoteConfig.fetchAndactivate()
        .then(() => {
            const fireBase = remoteConfig.getall();
            this.setState({
                firebase: fireBase,})
        })
        .catch((err) => {
            console.log(err)    
        });

以私有模式运行等于默认模式

jingyangliwei 回答:firefox私有模式下的Firebase远程配置错误反应了网络

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3157053.html

大家都在问