I'd like to share whole feature with ios app, Feature uses sqlite database, or rather adds table to the schema. I use sqldelight for that.
Now, if the native sqlite driver uses the same database name, then it should add feature's tables to the existing database the ios app already used, right?
However, is this safe in terms of threads, locks etc at runtime?
Doesn't feel like it. There should probably be only one database connection. However I dont want to create a separate db, that wont scale well etc.