[英]Firebase database not working after a new app version is installed. Flutter
I'm using firebase realtime database and firebase auth.我正在使用 firebase 实时数据库和 firebase auth。 My problem happens when an new app version is released.
我的问题在发布新的应用程序版本时发生。 If the user is logged in and update app, it doesn't get data from firebase database.
如果用户登录并更新应用程序,它不会从 firebase 数据库获取数据。 To read the data, i have to logout, reinstall app and then login again.
要读取数据,我必须注销,重新安装应用程序,然后再次登录。 It happens on iOS, but i didn't test it on android yet.
它发生在 iOS 上,但我还没有在 android 上测试它。
edit: My app isn't launched yet.编辑:我的应用程序尚未启动。 These tests were made using testflight.
这些测试是使用 testflight 进行的。
也许您应该在您的应用程序上添加一个启动画面,每次用户打开它时,屏幕都会检查该用户是否已登录。如果没有,您可以要求重新登录,或保存一些加密数据以自动登录。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.