Start a conversation

How do I configure chat and video calling push notifications and offline messaging?

There are several basic steps needed to successfully enable push notifications:

1. Enable chat alerts in the QuickBlox Dashboard using this guide:
Android SDK - Offline Messaging | Chat | Android SDK | QuickBlox
iOS SDK - Offline Messaging | Chat | iOS SDK | QuickBlox
React Native SDK - Offline Messaging | Chat | React Native SDK | QuickBlox
Flutter SDK - Offline Messaging | Chat | Flutter SDK | QuickBlox

2. Ensure APNS & GCM/FCM Certificates are valid and uploaded in the QuickBlox Dashboard:

iOS guideline

Android guideline

3. Subscribe users to push notifications:

iOS SDK -  Push Notifications | iOS SDK | QuickBlox

Android SDK -  Push Notifications | Android SDK | QuickBlox
React Native SDK - Push Notifications | React Native SDK | QuickBlox
Flutter SDK - Push Notifications | Flutter SDK | QuickBlox
Please note that push notifications can only be delivered from the development environment to development and from the production environment to production.

4. Manage your user’s background mode properly because automatic Chat Alerts for offline users require that a recipient is explicitly offline.

Refer to the documentation to learn more about Chat in background and proper logout:

iOS SDK - Connection | Chat | iOS SDK | QuickBlox
Android SDK - Connection | Chat | Android SDK | QuickBlox

JavaScript SDK -  Connection | Chat | JavaScript SDK | QuickBlox

React Native SDK - Connection | Chat | React Native SDK | QuickBlox

Flutter SDK - Connection | Chat | Flutter SDK | QuickBlox

Keep in mind that:
1. Managing and configuring push notifications in the background mode or killed state is not a part of QuickBlox SDKs and the implementation is up to the client side.
2. QuickBlox allows the sending of only FCM data messages which are handled by the client app.

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.

Choose files or drag and drop files
Was this article helpful?
  1. Maksym Pidhorbunskyi

  2. Posted
  3. Updated