For an existing database, I need to copy my asset to the SQLITE folder using the FileSystem API.
But then when my database asset gets updated, the file is not copied to the SQLITE folder since it already exists.
What condition should I use ? Should I store the first hash file to redux and then compare with the new on every app launch, and then copy the file to the SQLITE folder?
What is the best way to check for the new database asset?