Session error. The type of the Realm file was invalid

181 views Asked by At

I'm trying to use Realm Object Server, but can't access to data.enter image description here

Can you say why I getting this error?

Platform - Android. Language - Kotlin. Realm version - 5.4.0

1

There are 1 answers

0
Hakob Vardanyan On

I just used "fullSynchronization" function on builder.

private val configuration = SyncUser
        .current()
        .createConfiguration(OutdoorAllyConstants.REALM_OA_REGS_URL)
        .waitForInitialRemoteData()
        .fullSynchronization()
        .build()