Firebase / angularFire2 v5 authentication issue on mobile

这一生的挚爱 提交于 2019-12-11 14:16:31

问题


I am creating a PWA and trying to use firebase/angularfire2 v5 to authenticate my users against Facebook or Google (I followed a tutorial that is present in angularfire2 github site). When I use the application in a "normal" browser in a desktop or mobile device everything works fine. The problem starts when I install the application in a mobile device and try to use the authentication (in the manifest.json the property display is set to "standalone"). I end up in a blank page. I tried to solve this using both ways to authenticate: popup and redirect. Both have the same issue.

Am I missing any configuration? Did you face similar issues? How did you fixed it?


回答1:


I think this is related to this Chrome bug which affects standalone PWAs: https://bugs.chromium.org/p/chromium/issues/detail?id=771418



来源:https://stackoverflow.com/questions/47080467/firebase-angularfire2-v5-authentication-issue-on-mobile

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