You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I updated realm from 5.12 to 5.15 and without any changes on the models I got this exception when updating the app, but if I install as a fresh apk it will work.
java.lang.IllegalStateException: The following changes cannot be made in additive-only schema mode:
- Property '__ResultSets.created_at' has been made required.
- Property '__ResultSets.updated_at' has been made required.
at io.realm.internal.OsSharedRealm.nativeGetSharedRealm(Native Method)
at io.realm.internal.OsSharedRealm.(OsSharedRealm.java:171)
at io.realm.internal.OsSharedRealm.getInstance(OsSharedRealm.java:241)
Steps & Code to Reproduce
Calling like this:
Realm.setDefaultConfiguration(SyncConfiguration.automatic())
mRealm = Realm.getDefaultInstance()
Version of Realm and tooling
Realm version(s): 5.12 <-> 5.15.1
Realm Sync feature enabled: Yes
Android Studio version: 3.5
Android Build Tools version: 29
Gradle version: 3.5.0
Which Android version and device(s): All versions
The text was updated successfully, but these errors were encountered:
Goal
I updated realm from 5.12 to 5.15 and without any changes on the models I got this exception when updating the app, but if I install as a fresh apk it will work.
java.lang.IllegalStateException: The following changes cannot be made in additive-only schema mode:
- Property '__ResultSets.created_at' has been made required.
- Property '__ResultSets.updated_at' has been made required.
at io.realm.internal.OsSharedRealm.nativeGetSharedRealm(Native Method)
at io.realm.internal.OsSharedRealm.(OsSharedRealm.java:171)
at io.realm.internal.OsSharedRealm.getInstance(OsSharedRealm.java:241)
Steps & Code to Reproduce
Calling like this:
Realm.setDefaultConfiguration(SyncConfiguration.automatic())
mRealm = Realm.getDefaultInstance()
Version of Realm and tooling
Realm version(s): 5.12 <-> 5.15.1
Realm Sync feature enabled: Yes
Android Studio version: 3.5
Android Build Tools version: 29
Gradle version: 3.5.0
Which Android version and device(s): All versions
The text was updated successfully, but these errors were encountered: