I am kinda stuck in my project trying to figure out how to enable the persistence data in flutter apps.
How can we do this, I have seen the example on github example here .
But, how can i check if there is any internet connection and if no how can i display the data from the firebase cache stored on the device.
Please, can someone tell me how can i achieve this, any help would be greatly appreciated.
Regards, Mahi
yes, the persistence is enabled by default as described by @GunterZochbauer for firebase and we dont need to do anything regarding this.
Thanks, Mahi
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.