I have a SQLite file downloaded from the server with all static data a round the application. I used it to fill the room data base.
With Room 2.1.0, I used to copy the file to databases directory and it was working fine when update the SQLite file schema (adding new columns) on the versions with old Entities.
Now with Room 2.4.0, If the SQLite file schema changed It throws exception
IllegalStateException("Pre-packaged database has an invalid schema:")
.
Is there anyway to skip schema Validation ?