On iOS the database file is generated in the documents folder, that is accessible to the enduser, which I would like to avoid.
Would it be possible to have a method getDatabasePath in the FloorDatabase that provides the database file path?
Then we could decide there we want the database file to live at.
On iOS the database file is generated in the documents folder, that is accessible to the enduser, which I would like to avoid.
Would it be possible to have a method
getDatabasePath
in theFloorDatabase
that provides the database file path? Then we could decide there we want the database file to live at.I imagine it like this: