Write to sqlite database android

broken image
broken image
broken image

In the second case, they provide the database from as a reference in the asset /www directory and that database will be used by the application and after modifying the data in the database they look for the change in the same database which is confusion point.

broken image
broken image

If we talk about the database that we make in runtime then we can understand that but most people get confused in the second case when we use the pre-populated database. While developing the application either we provide the pre-populated database or make the database at runtime but in both cases, we can not see the database of the device directly. There are lots of confusion in people related to How to see the SQLite database? and that is the main reason behind writing this post. This is an extended post of our previous post Example of SQLite Database in React Native and Example to Load Pre Populated SQLite Database in React Native. This post has the steps to see the data stored in the SQLite database in the device. Here is How to See SQLite Database Data Saved in Device using Android Studio.

broken image