OAuth SignIn Cordova Firebase

妖精的绣舞 提交于 2019-12-22 11:28:52

问题


I tried to use OAuth SignIn Cordova Firebase in a hybrid cordova app following the steps from this firebase tutorial:

Authenticate Using OAuth Providers with Cordova

But I did not succeed and get the error message below:

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."}


回答1:


I found the solution, the issue was corrected in the latest Firebase JavaScript SDK release (4.1.3)

Firebase JavaScript SDK Release Notes



来源:https://stackoverflow.com/questions/44651423/oauth-signin-cordova-firebase

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!