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

How to reconnect socket with Hilt #227

Open
AsilbekAzimqulov opened this issue Aug 21, 2023 · 0 comments
Open

How to reconnect socket with Hilt #227

AsilbekAzimqulov opened this issue Aug 21, 2023 · 0 comments

Comments

@AsilbekAzimqulov
Copy link

Hello, i use library with Hilt and courotuine. So I have state.
I need to token for connecting socket. But I used hilt and scarlet object is Singlton.
but if I open app first time yet don't login. without token socket could not connect but I use Hilt songlton object and it created when app opened. So then I can not recreate after login. how can I manage this situataion?

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

1 participant