The very basic requirements to send Push Notifications successfully.
There are several steps to perform to enable Push Notification service properly:
1. Enabling "Chat Alerts" in the QuickBlox Admin Panel using this guide: https://docs.quickblox.com/docs/react-native-chat-advanced#section-alerts
2. APNS & GCM/FCM Certificates should be valid and uploaded in QuickBlox Admin Panel:
3. Push Notification Subscription.
Subscribe users to push notifications:
Please notice that Push notifications can only be delivered from the Development environment to Development and from Production to Production.
4. Managing Background Mode properly. Ensure you manage users' Background mode properly because automatic Chat Alerts for Offline users require that a recipient is explicitly Offline:
Refer to the Chat in Background mode documentation and proper Logout logic on iOS:
Refer to the Chat in Background mode documentation and proper Logout logic on Android:
Keep in mind that managing and configuring push notifications in the background mode or killed state is not a part of QuickBlox SDK's and the implementation is up to the client side.