Search code examples
sqlitexamarinxamarin-studio

Whether db data in the iPhone Mobile App will vary on every testing from simulator?


I am working on a Xamarin iPhone App. Every time, I launch the App in the simulator, the data in the App starts from beginning.

To give an example,I have a user registration table. On first time testing, I created an account. On second time, when i tested the app from simulator , i don't see the account. When i looked on the sqlite db , i don't see the record which i inserted.

Sync between Sqlite and SQL Server is not yet done. Right now, I am testing only the Mobile Part of the App.

Is it required to have a sync to have the same data in the Sqlite?


Solution

  • Is this a Xamarin Forms application? If yes then you can follow my blog where I have done a CRUD operation in Xamarin forms to SQLite local database.