0

I have published an earlier version of my app on Play Store which had no db. Now I made a lot of changes as per the requirements and added several tables in my app.

I just want to confirm when I push this new app on Play Store, do all my existing users will easily open the app or they will get FC as there is no db exists in their app?

Please suggest me what will happen and what should I do to not let my users facing FC.

Thanks

Geeky Singh
  • 1,003
  • 9
  • 20

2 Answers2

0

As in your previous app you have not set database, so just initialize your database on your first screen like in splash screen. So as soon as user will start application first database will be created and then app will start so there will not be any kind of issue or app crash scenario user will face.

Vickyexpert
  • 3,147
  • 5
  • 21
  • 34
0

Use a class derived from SQLiteOpenHelper, which automatically manages creating or updating the database when needed.

Also see When is SQLiteOpenHelper onCreate() / onUpgrade() run? (which is not your problem).

Community
  • 1
  • 1
CL.
  • 173,858
  • 17
  • 217
  • 259