ormlite_config.txt is created inside assets folder instead of raw
I've just upgraded from 1.0.12 to 3.0.4 of the OrmGAP plugin and the config file is placed inside the src/main/assets directory instead of src/main/res/raw. Is there a config option to change the file location? Because the OrmLiteSqliteOpenHelper tries to open the file from the raw resources.
I am using Gradle 4.4 and Android Gradle PLugin 3.1.0
I've missed that the OrmLiteSqliteOpenHelper has another constructor that accepts an InputStream of the config file.
If the change from raw to assets was intended, can you please adjust the how-to on the index page as follows:
public DatabaseHelper(Context context) {
super(context, DATABASE_NAME, null, DATABASE_VERSION, context.getAssets().open("ormlite_config.txt"));
}
Personally I'd still prefer the raw resource because the resource id is linked statically which prevents typo errors in the file name.