That will give you a normal Realm object that you can use. The issue you are having is that you can’t use classes named the same way as the one used in the SDK. I would recommend however that you don’t close that object, because the sdk uses on a per thread basis, and it that might cause issues within the sdk.
The recommendation of our mobile dev team will only work if you remove your previous implementation. You should not have Realm implementation on the application side. In other words, you should not have executed code such as Realm.setDefaultConfiguration(…); and RealmConfiguration realmConfiguration = new RealmConfiguration.Builder. As for the next release of the android sdk, there is no confirmed date yet. I will post back here once it has been released.
I had already removed all such configurations. I am still getting the same error.
The only way I could remove the error was to implement ‘RealmModel’ class instead of inheriting ‘RealmObject’ class. After refactoring all my code, I tried to save my objects using ‘PersistentDataManager’ but I get the following exception:
io.realm.exceptions.RealmException: class <package>.LocationEntry is not part of the schema for this Realm.
It is almost a week not and I cannot even integrate the sdk in my app. Is there any way you can provide a version of sdk that resolves this issue?