Firstly, you need to disconnect from the Chat server when the application goes to background mode and reconnect again when you go foreground. In this case messages will be delivered without any issues.
You can enable offline messaging for your application using different SDKs:
-
Android SDK - Offline Messaging | Chat | Android SDK | QuickBlox
-
JavaScript SDK - Offline Messaging | Chat | JavaScript SDK | QuickBlox
-
React Native SDK - Offline Messaging | Chat | React Native SDK | QuickBlox
-
Flutter SDK - Offline Messaging | Chat | Flutter SDK | QuickBlox
You can find out how to retrieve chat message here:
-
iOS SDK - Messaging | Chat | iOS SDK | QuickBlox
-
Android SDK - Messaging | Chat | Android SDK | QuickBlox
-
JavaScript SDK - Messaging | Chat | JavaScript SDK | QuickBlox
-
React Native SDK - Messaging | Chat | React Native SDK | QuickBlox
Flutter SDK - Messaging | Chat | Flutter SDK | QuickBlox
Server API - Messages | Chat | Server API
Feel free to check our official documentation for more information that will help you to integrate QuickBlox services into your applications / projects or contact our Support team by submitting a ticket if you have any other questions.
Maksym Pidhorbunskyi
Comments