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

QBChatService.getInstance().user = empty values after connecting #823

Open
haarj opened this issue Oct 20, 2024 · 2 comments
Open

QBChatService.getInstance().user = empty values after connecting #823

haarj opened this issue Oct 20, 2024 · 2 comments
Assignees

Comments

@haarj
Copy link

haarj commented Oct 20, 2024

Hey Android Team,

We are looking to grab the current user from the QBChatSDK.getInstance().user property and we noticed that after calling QBChatSDK.getInstance().login() successfully, that user property has empty values for all user generated properties like login.

@vdovbnya-qb
Copy link
Member

vdovbnya-qb commented Oct 21, 2024

Hello @haarj
There is no QBChatSDK class in the QuickBlox Android SDK. Perhaps you meant the QBChatService class?

I tried to investigate this behavior using our sample-conference-kotlin, but I could not reproduce the issue. After successfully calling:
QBChatService.getInstance().login(user),
I was able to retrieve the current user from QBChatService.getInstance().user, and all the fields, including user-generated properties like login, were populated correctly.

We also advise you to try reproducing this issue on our sample-conference-kotlin. If you encounter it, please provide us with logs to help us investigate further.

@haarj haarj changed the title QBChatSDK.getInstance().user = empty values after connecting QBChatService.getInstance().user = empty values after connecting Oct 21, 2024
@haarj
Copy link
Author

haarj commented Oct 23, 2024

Thanks, @vdovbnya-qb. We're going to table this for now as we are working on other things at the moment and caching our own current user for now. We'll retest this towards the end of the Android project. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants