Tinder / Scarlet

A Retrofit inspired WebSocket client for Kotlin, Java, and Android
Other
3.23k stars 237 forks source link

question #213

Open sanchezrodriguez opened 2 years ago

sanchezrodriguez commented 2 years ago

Guys please if someone can help. I need to keep connection alive in background. Does someone know how to do that? Thank You!

aaronweihe commented 2 years ago

just use the DefaultLifecycle to keep connection alive when the app is in background, instead of the android lifecycle