realm-cpp
realm-cpp copied to clipboard
`realm::open` creates a Realm file with a `.realm.realm` extension
When opening a Realm using realm::open, the locally-created Realm file ends with .realm.realm. However, opening a Realm using realm::async_open creates a Realm file with .realm extension. This can cause two Realm files to be created when using both methods to open a Realm in the app.
+1 realm::open has its own suffix inside check here. so i use realm::open<...>({.path = "name_without_suffix"}) to fix it.
Fixed by: https://github.com/realm/realm-cpp/pull/20