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?
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?