Hello,
I have developed an app that has a SQLite db with a few tables. All is working well in the test center. What I would like to do is only on the initial run of the app have it create the DB, Tables and insert a row in each table before the first screen is loaded.
The reason is that I use a login screen that is getting the password from the DB and it will give a SQL error if it is not created first. But I only want this to run one time only.
Also, Chrome has problems with a function that creates the tables & inserts the first row, but the work fine if I open the Dev Tool and insert the statements to create the table and insert the initial row.
Any suggestions?
Cheers…