IOS push notifications working but not passing the following function so it is not updating the current chat in realtime.
(not handling the notifications from fresh chat.)
Here is the notifications response from freshchat on any new message -
{"additionalData":{"source":"freshchat_user","channel_id":"37688","coldstart":false,"notif_type":"1","target_user_alias":"8285ADF1-AC3B-4EB7-B94B-21B2199F7D4C","conv_id":"422250267625603","foreground":true,"ephemeral":false,"mutable-content":1},"message":"hi new message","count":1,"sound":"default"}
IOS push notifications working but not passing the following function so it is not updating the current chat in realtime. (not handling the notifications from fresh chat.)
window.freshchat.isFreshchatPushNotification(notification, (success, isFreshchatNotif) => { if (success && isFreshchatNotif) { this.freshchat.handlePushNotification(notification); } });
Here is the notifications response from freshchat on any new message -
{"additionalData":{"source":"freshchat_user","channel_id":"37688","coldstart":false,"notif_type":"1","target_user_alias":"8285ADF1-AC3B-4EB7-B94B-21B2199F7D4C","conv_id":"422250267625603","foreground":true,"ephemeral":false,"mutable-content":1},"message":"hi new message","count":1,"sound":"default"}