Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Notification badge count is not updating in iOS #11

Open
Samsritha1596 opened this issue Feb 17, 2021 · 2 comments
Open

Notification badge count is not updating in iOS #11

Samsritha1596 opened this issue Feb 17, 2021 · 2 comments

Comments

@Samsritha1596
Copy link

Unread message count is updating only when I refresh the app

Freshchat.addEventListener(
Freshchat.EVENT_UNREAD_MESSAGE_COUNT_CHANGED,
() => {
console.log("onUnreadMessageCountChanged triggered");
Freshchat.getUnreadCountAsync((data) => {
console.log("Message count",data.count)
PushNotificationIOS.setApplicationIconBadgeNumber(data.count);
});
}
);

@Samsritha1596
Copy link
Author

Any updates on above issue ?

@adeadavid
Copy link

@Samsritha1596 Ps were you able to solve this problem?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants