Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Credentials.anonymous(reuseExisting = true) not work #1747

Closed
helmysaeed opened this issue May 18, 2024 · 2 comments
Closed

Credentials.anonymous(reuseExisting = true) not work #1747

helmysaeed opened this issue May 18, 2024 · 2 comments

Comments

@helmysaeed
Copy link

How frequently does the bug occur?

Always

Description

Expected results
use the same anonymous user ID with every session

Actual Results
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

Stacktrace & log output

No response

Can you reproduce the bug?

Always

Reproduction Steps

var app by mutableStateOf( App.create("appid"))

val anonymousCredentials = Credentials.anonymous(reuseExisting = true)
user = app.login(anonymousCredentials)
println("userId"+user!!.id)

Version

kotlin SDK 1.16.0

What Atlas App Services are you using?

Both Atlas Device Sync and Atlas App Services

Are you using encryption?

No

Platform OS and version(s)

windows 10

Build environment

Android Studio version: ...
Android Build Tools version: ...
Gradle version: ...

Copy link

sync-by-unito bot commented May 18, 2024

➤ PM Bot commented:

Jira ticket: RKOTLIN-1081

@nirinchev
Copy link
Member

This is a duplicate of realm/realm-core#7709.

@nirinchev nirinchev closed this as not planned Won't fix, can't repro, duplicate, stale May 21, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants