I’m trying a similar approach in Kotlin, but the restore doesn’t work: basically, the db file is copied correctly, but the write ahead files mess everything up and the app displays the old db, until i manually delete both the files from the file explorer. Of course a restart doesn’t work either. I wonder if a classic JSON solution would have worked better, and i’m stuck with this problem!