[ Enhancement ] Prevent misleading messages when opening a database version "from the future"
esutton opened this issue · 2 comments
Each time Realm Browser browses a database "from the future" it behaves unexpectedly.
stackoverflow: macOS Realm Browser requests encryption key to open after upgrading realm 1.13.0 to 2.0.0?
Is there a version number in the database file that Realm Browser could use to determine breaking changes from a database "from the future"?
I guess the future is hard to predict. Perhaps consider display of a helpful message "I do not support this database version 4.x.x Please upgrade Realm browser"
For example, when opening a realm database created with 2.0.0, Realm Browser 2.1.12 displays a misleading message requesting an encryption key to open. I assume this message was displayed because the 3.0 format changed drastically and the version field could not be found, so the browser assumed it was encrypted. Perhaps add a stand-alone separate encrypted version metadata that Realm Browser knows how to read?
Thanks for a great tool. I really like that 3.0.0 allows opening an iOS app database file in the iOS simulator without having to close the app first like 2.x did. Very helpful for debugging!
@esutton Yeah that's a totally fair and good suggestion.
Most of our energy will be going towards the new Realm Studio from now on. Have you tried that?
@bmunkholm I had not heard of Realm Studio.
I am downloading now: https://realm.io/products/realm-studio/