OAuth登录Cordova Firebase [英] OAuth SignIn Cordova Firebase
问题描述
我尝试按照此firebase教程中的步骤在混合式cordova应用程序中使用OAuth SignIn Cordova Firebase:
I tried to use OAuth SignIn Cordova Firebase in a hybrid cordova app following the steps from this firebase tutorial:
但是我没有成功,并收到以下错误消息:
But I did not succeed and get the error message below:
错误:{代码":此环境不支持验证/操作",消息":此应用程序在运行的环境中不支持此操作. \必须为http,https或chrome-extension,并且必须启用网络存储."}
Error: {"code":"auth/operation-not-supported-in-this-environment","message":"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."}
推荐答案
我找到了解决方案,该问题在最新的Firebase JavaScript SDK版本(4.1.3)中已得到解决
I found the solution, the issue was corrected in the latest Firebase JavaScript SDK release (4.1.3)
这篇关于OAuth登录Cordova Firebase的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!