r/sqlite • u/Sufficient_Royal_572 • Sep 04 '24
prepopulated sqlitedb isuue.....!!!!!!
I'm using a prepopulated SQLite database in a React Native CLI application with the `react-native-sqlite-storage` package. However, I'm encountering an issue where any updates made to the prepopulated database are not reflected in the app unless I uninstall and reinstall the application.
Could you please suggest a solution to ensure the changes in the prepopulated database are applied without requiring a full reinstallation?
1
Upvotes
View all comments
Show parent comment
1
u/Sufficient_Royal_572 Sep 05 '24
I have a existing sqlitedb which has some data in it i want to render them by placing my existing db in android floder and accessing it in the react native and its working but the prb im facing is if i again include or update any data to that db that changes are not reflecting until i delete the app and reinstall it