You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] How to Keep the online stattus for the Client #635
After deployment, Everything seem to OK, The andriod clinet work normal.
But several hours later, client A can't call client B online, the status of the clientB seems is online, But have to relogin to work.
LiveKit only handles the media room. Offline push is needed to wake/notify the Android app when the call invite cannot be delivered through the long connection.
Activity
skiffer-git commentedon Feb 23, 2025
Are you referring to the issue of audio and video calls?
skiffer-git commentedon Feb 23, 2025
To solve this issue, you need to integrate offline push notifications into your system.
niliangwen commentedon Feb 25, 2025
pls tell me how to integrate the offline push notification, thank you.
dsx137 commentedon Jun 30, 2026
For Android, offline push needs to be configured on both the OpenIM server side and the Android client side.
Configure
openim-push.ymland enable one push provider, for examplegetuiorfcm.For example:
or for GeTui:
Official doc:
https://docs.openim.io/guides/solution/offlinePush
If you use the OpenIM Android demo, switch to the corresponding push variant:
GetuiDebug/GetuiReleasefor GeTuiFCMDebug/FCMReleasefor Firebase FCMThen configure the vendor push credentials.
Android demo config:
https://github.com/openimsdk/open-im-android-demo/blob/main/CONFIGKEY.md
After getting the Firebase token on Android, call
updateFcmToken:Doc:
https://docs.openim.io/sdks/api/third/updateFcmToken
Make sure the message carries
offlinePushInfo, for example title/desc, and make sure it is not sent as online-only or no-offline-push.OfflinePushInfodoc:https://docs.openim.io/sdks/class/message/offlinePushInfo
Also make sure the Android signaling listener is set before login:
Android quickstart:
https://docs.openim.io/sdks/quickstart/android
LiveKit only handles the media room. Offline push is needed to wake/notify the Android app when the call invite cannot be delivered through the long connection.