Stuck on login realm using existing user object

Realm version 10.5.1

fun restoreLoggedUser(): io.realm.mongodb.User? {
return realmApp.currentUser()?.also {

while restoring its not working

@kunal_gharate : Thanks for reaching out to us, let me have a look and get back to you soon.

@kunal_gharate : I am able to use the WildAid app with Realm 10.5.1. Have you followed the steps mentioned in the Building and running the app section

Yes same file i used in my project

@kunal_gharate : Can you please share the clone project via GitHub?

I cant share the source but I can show you on my pc currently this issue with all dependencies i used

i have tried

classpath “io.realm:realm-gradle-plugin:10.4.0”
classpath “io.realm:realm-gradle-plugin:10.5.1”
classpath “io.realm:realm-gradle-plugin:10.6.0” (beta)