lonelydev101
lonelydev101

Reputation: 1911

Xamarin forms working in offline mode with sqllite

I need a nuget package or some good practice how to do a whole-app offline mode working? Im having login, xf maps, CRUD operations etc. I found some guidence but it is regarding xf offline mode with azure but I really need is logging everything in my db.

Logic: after each api call (while I have internet), drop all tables, create new ones, and insert fresh data. (with delete wont work, because, those unique ids are reserved already) when I dont have internet, read from db "old" data

Upvotes: 2

Views: 369

Answers (2)

Jasmin Sojitra
Jasmin Sojitra

Reputation: 1299

Using this you can store your data in Local storage and retrieve from that. https://learn.microsoft.com/en-us/learn/modules/store-local-data-with-sqlite/4-exercise-store-data-locally-with-sqlite

Upvotes: 1

Related Questions