SDKsuni-appEnterprise
Get the group application badge count
OpenIM uni-app / uni-app x SDK guide for Get the group application badge count.
onGroupApplicationBadgeCountChanged is Commercial.
import { off, onGroupApplicationBadgeCountChanged } from '@/uni_modules/unix-openim-sdk'
const badgeSubscription = onGroupApplicationBadgeCountChanged((count) => renderGroupRequestBadge(count))
off(badgeSubscription)Treat it as an incremental UI signal and reload the request/count snapshot after login or missed events. This platform event replaces the unavailable clear-badge operation.
Was this page helpful?