2

I am currently building an app using Ionic framework with AngularJS, and PouchDB for local database storage.

For now the data is only stored locally on PouchDB, and is not synced online.

My question is. When I update the iOS or Android app to a newer version, will the user-generated content be removed from PouchDB, or is the update merging seamlessly?

  • since you define the database in your code, why would it change? – charlietfl Oct 19 '15 at 12:57
  • When the app is launched there will be some data included (seeder). I'm worried about the extra content, that the user will save in the database. Will the database be written over (replaced) when updating the app? – user3179712 Oct 19 '15 at 13:02
  • http://stackoverflow.com/questions/11278841/phonegap-what-happens-to-web-sql-database-on-app-update – Colin Skow Oct 19 '15 at 13:46

1 Answers1

4

No, the local data is not removed when the app updates.

nlawson
  • 11,510
  • 4
  • 40
  • 50