Data offline

Hello, I doing a PWA, I need data persistence offline on the browser but I don’t have idea how to use cookies or something like that on Ionic.

Can I use LocalStorage with SQLite?

I get data from a server through, but I want that if you do not have internet, you can continue browsing with a backup done in some way

Firebase does it somehow, but I still do not know how it works

Yes, use the Storage plugin

Looks like it prioritizes SQLite, then uses various fallbacks if that’s not available.

Thanks, I had not read this

1 Like