【发布时间】:2017-06-13 06:45:11
【问题描述】:
我正在使用firebase 和angularjs 在ionic 框架中开发一个混合移动应用程序。当我尝试在浏览器中使用signInWithPopup('twitter') 使用twitter 登录时,它可以正常工作,它为我提供了来自 twitter 的正确用户数据,但在我的 android 设备中,我收到如下错误
代码:auth/operation-not-supported-in-this-environment。信息 : “此应用程序的环境不支持此操作 正在运行。 “location.protocol”必须是 http 或 https 和 web 必须启用存储。”
我不知道如何解决这个问题..
提前致谢
【问题讨论】:
-
欢迎来到 Stackoverflow!请花一些时间阅读the help pages,尤其是名为"What topics can I ask about here?" 和"What types of questions should I avoid asking?" 的部分。也请使用tour 并阅读有关how to ask good questions 的信息。最后请学习如何创建Minimal, Complete, and Verifiable Example。
标签: angularjs firebase twitter ionic-framework firebase-authentication