Requirement:
Download an SQLite DB file and use that in the application. Redownload the DB file every time server has new data, and replace the existing DB file in the application.
When I replace the file, openDatabase() is returning Disk IO Error as it is still referencing the old DB file. should I close the connection before replacing the connection? if Yes How?