-
Type: Task
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
?
-
7709
-
Not Needed
Expected results
<!-- What do you want to achieve? -->
use the same anonymous user ID with every session
Actual Results
<!-- What happened instead? -->
every time I log in with the anonymous user Realm generates a new user with a different ID so I can not trace the user
Steps & Code to Reproduce
<!-- What steps resulted in the unexpected behavior? -->
<!-- Please show any relevant code or even better is a full sample project that can reproduce the problem -->
var app by mutableStateOf( App.create("appid"))
val anonymousCredentials = Credentials.anonymous(reuseExisting = true)
user = app.login(anonymousCredentials)
println("userId"+user!!.id)
Core version
Core version: ?
Realm Core 14.6.1
Realm kotlin 1.16.0