Solved

Delay in Message Reflection on iOS with Flutter Freshchat SDK

  • 5 December 2023
  • 1 reply
  • 44 views

Hi, 

Recently, I have integrated the latest SDK (freshchat_sdk ^0.10.10) of Freshchat for FLUTTER for both iOS and Android into an app I am developing.

The integration on the Android platform has been successful and works smoothly. However, I have experienced certain issues when using the Freshchat SDK on iOS, specifically regarding the time it takes for a message to be reflected in the UI after using the Freshchat.showConversations() function.

In detail, I have noticed that when a notification is received, it is reflected almost instantly in the ios notifications. However, displaying the message in the UI can take significantly longer compared to the Android experience. This has led to a discrepancy in user experience between the platforms.

Since the functionality on Android is seamless and the message is reflected at virtually the same time the notification is received, I would like to request your assistance in addressing this specific issue on iOS. I would appreciate any guidance, suggestions or solutions you can provide to improve the speed of message reflection on the iOS platform.

thanks

icon

Best answer by srikanthkarunakaran 10 May 2024, 14:18

View original

1 reply

Userlevel 2
Badge +3

Hi Arthur,

The delay in message delivery in your mobile SDK happens when the push-notification code might not be configured properly in your SDK project.

Glad to know you are receiving the notifications, but still I would suggest you to review the code mentioned in the articles and document.

Articles:

  1. Please check if you have followed all the steps mentioned in the article column 6.1 to 6.3 https://crmsupport.freshworks.com/en/support/solutions/articles/50000004350-freshchat-flutter-sdk-integration-steps
  2. Please check if you are handling the message for both Android and iOS as mentioned in this document: https://developers.freshchat.com/mobile/#handle-push-notifications
  3. Also, please check sample app to test in your environment: https://www.dropbox.com/scl/fo/ka0rzv09j82mazf0veelk/h?dl=0&rlkey=xrykmqwaz4sqxzu1rv55rtewf
  4. Android: https://github.com/freshworks/freshchat-flutter-sdk/tree/main/example
  5. iOS: https://github.com/freshworks/freshchat-flutter-sdk/blob/main/example/ios/Runner/AppDelegate.swift

Thanks.

Reply