3

How can i able to send notification, when app is opened or not opened. I am not getting any proper guidelines in quick blox docs, to send notification between private chat.

Please guide me, how to do this.

NSArray
  • 63
  • 1
  • 10

1 Answers1

2

By default, QuickBlox sends push notifications to offline users automatically if your opponent is offline

http://quickblox.com/developers/SimpleSample-chat_users-ios#Push_notifications_to_the_offline_users

what you need is:

  1. Create APNS certificate and upload it to the Admin panel http://quickblox.com/developers/SimpleSample-messages_users-ios#Creating_APNS_certificates
  2. Subscribe users to push notifications http://quickblox.com/developers/SimpleSample-messages_users-ios#Giving_a_user_a_Push_Notification_subscription

that's all, after this a user will be receiving pushes when he will be offline

Rubycon
  • 18,156
  • 10
  • 49
  • 70