简体   繁体   中英

Firebase database not working after a new app version is installed. Flutter

I'm using firebase realtime database and 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. 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.

edit: My app isn't launched yet. These tests were made using testflight.

也许您应该在您的应用程序上添加一个启动画面,每次用户打开它时,屏幕都会检查该用户是否已登录。如果没有,您可以要求重新登录,或保存一些加密数据以自动登录。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM