Scarlet icon indicating copy to clipboard operation
Scarlet copied to clipboard

How to reconnect socket with Hilt

Open AsilbekAzimqulov opened this issue 2 years ago • 0 comments

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?

AsilbekAzimqulov avatar Aug 21 '23 06:08 AsilbekAzimqulov