Browse SDKs · WASM
SDKsWASM

Clear the group application badge

Clear the current user’s group application badge count.

Copy

After the user opens and reviews the application list, clear the badge count as follows:

await openimsdk.clearGroupApplicationBadgeCount();

This method has no application parameters and clears only the group-application badge for the current account. When the Promise resolves, the clear request has completed, but the badge event may not have arrived yet. The operation does not accept, reject, or delete any applications.

When OnGroupApplicationBadgeCountChanged arrives, update the badge with the latest count in the event. For the complete listener, see Get received group applications. If the product displays the pending-application count as its badge, query that count again instead of treating these two counters as equivalent.