1

Hello guys I just launched my application on playstore, I have ship my sqlite database with app which is assets folder then I copy that database in app/data folder and my application is work on it.

Now my question is in My new version of app I add new table in database. So I want to replace existing database of user which running an old version of database.

I don't know how exactly app update process work.

after update old copy of database is replaced ? or I specifically write a method that check if there is existing old copy of database is available so replaced it with new database.

Grumpy Cat
  • 1,219
  • 2
  • 11
  • 17

1 Answers1

0

To know everything good about how to update database on app update is given right here : Android: upgrading DB version and adding new table

Hope it will help :)

Community
  • 1
  • 1
Dave Ranjan
  • 2,966
  • 24
  • 55