Ricerche recenti


Nessuna ricerca recente

Mikko Seppa's Avatar

Mikko Seppa

Data ingresso 09 ott 2024

·

Ultima attività 09 ott 2024

Seguiti

0

Follower

0

Attività totali

1

Voti

0

Abbonamenti

0

PANORAMICA ATTIVITÀ

Ultima attività di Mikko Seppa

Mikko Seppa ha creato un post,

Post Developer - Zendesk SDKs

Hi, I'm using the new Zendesk Messaging SDK to receive push notification on iOS and Android. https://developer.zendesk.com/documentation/zendesk-web-widget-sdks/sdks/ios/push_notifications/

Question: Can Zendesk set an unread messages number badge to the app icon when application is in the background and a push notification is received?

For example on iOS it would require that “badge” property would be sent in the push notification payload from the Zendesk server. Is Zendesk capable of sending that as part of the payload to update the badge? Reference to Apple documentation: https://developer.apple.com/documentation/usernotifications/generating-a-remote-notification#Payload-key-reference

On Android I think we would need a way to receive the unread messages number in the push notification payload, but we would need our own implementation to read it and set the badge on the app icon, common solution is using a library like ShortcutBadger.

Please note that this topic is about background functionality. When the app is on the foreground, we can always listen to unreadMessageCountChanged from Zendesk SDK and update the badge number manually, that's not an issue.

Data ultimo post: 09 ott 2024 · Mikko Seppa

0

Follower

1

Voto

1

Commento