I would like to know what happens with Realm when the user updates the Android app. I have an Android application with some classes that extend from RealmObject. I use them to persist information on my app. The thing is, when I define new classes as RealmObject, and I run the app directly from Android Studio, the app crashes: The MyRealmClass class is missing from the schema for this Realm. I have to uninstall the previous version and then run the app to solve it.
What happens when the user updates the app from Play Store and the new version has new Realm classes? Would the app crash? If so, there is any way to solve it?
Thank you!
Yes, the app would crash. You need to add a RealmMigration class.
and