Firebase Auth 在 TWA 中不起作用,但在 PWA 中起作用
Firebase Auth does not work in TWA but works in PWA
firebase auth
应用的 PWA 版本
完美运行,我在 firebase.auth().onAuthStateChange callback
中获得了用户,
但是当尝试使用相同的 TWA 版本的应用程序时,auth
总是无法登录。
TWA 版本:
https://play.google.com/store/apps/details?id=com.managemyrides
我正在回答我自己的问题,
问题出在 firebase 上。
我把版本从6.x.x升级到5.7.0,上述问题就消失了
firebase auth
应用的 PWA 版本
完美运行,我在 firebase.auth().onAuthStateChange callback
中获得了用户,
但是当尝试使用相同的 TWA 版本的应用程序时,auth
总是无法登录。
TWA 版本:
https://play.google.com/store/apps/details?id=com.managemyrides
我正在回答我自己的问题,
问题出在 firebase 上。
我把版本从6.x.x升级到5.7.0,上述问题就消失了