Hi guys,
I’m trying to update my libs and apps to support Realm 10.10.1 but I’m receiving this error: io.realm.exceptions.RealmException: com_model_SectionRealmRealmProxy is not part of the schema for this Realm
I’m already using modules method at Realm initialization, if I remove it, the error message is changed to: io.realm.exceptions.RealmException: SectionRealm is not part of the schema for this Realm
It’s working well with my old version of Realm, is there anything different I may do with this new version?
Below is my Realm Initialization code:
Realm.init(this);
RealmConfiguration realmConfiguration = new RealmConfiguration.Builder()
.name(BuildConfig.DB_NAME)
.allowWritesOnUiThread(true)
.allowQueriesOnUiThread(true)
.schemaVersion(ContextInfo.DATABASE_VERSION)
.modules(
Realm.getDefaultModule(),
new SectionModuleRealm())
.migration(new RealmMigration(this))
.build();
Realm.setDefaultConfiguration(realmConfiguration);
Tks,