I have 2 databases in the project, one of them created when I open the app, the other is provided with the assets.
When DaoSession is generated the DaoSession is created for all models.
also the Schema in the gradle file is used for both databases
How can I differentiate between the 2 databases and their schemas ?
For Greendao Version 3, it is not possible to have more than 1 schema.
github.com/greenrobot/greenDAO/issues/356
As they wrote on their website also:
Note that multiple schemas are currently not supported when using the Gradle plugin . For the time being, continue to use your generator project.
They have added this feature yet to the new GreenDao.