QuickBlox / quickblox-ios-sdk

QuickBlox iOS SDK for messaging and video calling
https://quickblox.com/developers/IOS
MIT License
397 stars 359 forks source link

Getting the notification in testing mode but not in live mode #1359

Closed manohar-techahead closed 1 year ago

manohar-techahead commented 1 year ago

Whenever I am sending the messages using admin panel in testing mode, I am getting the push notification but whenever I am trying to send it in live mode I am getting the error - "No recipients. At least one user should be subscribed for 'apns' (through SDK or REST API)". Also please let me know if I will get push notifications automatically in case I am offline or not using the app(connected to internet) if I get any message from other user

VladimirNybozhinsky commented 1 year ago

@manohar-techahead Hi This is Vladimir from QuickBlox.

You can get detailed information about setting up push notifications in the QuickBlox documentation.

  1. Make sure you are using an Apple Push Notification Service (Sandbox & Production) SSL certificate.
  2. When building Archive, use Ad Hoc or App Store Connect as needed, but not Development.

Best regards, Vladimir

https://discord.gg/ZWZ3WpYZ9q

manohar-techahead commented 1 year ago

@VladimirNybozhinsky thanks for reply . Also please let me know if I will get push notifications automatically in case I am offline or not using the app(connected to internet) if I get any message from other user or I have to create the events for this

VladimirNybozhinsky commented 1 year ago

@manohar-techahead

Yes, you will receive push notifications automatically if this mode is set (it is set by default) in your application in the admin panel.

Screenshot 2023-08-22 at 11 32 26

You can get detailed information about setting up push notifications in the QuickBlox documentation.

You can get an example of using push notifications in your application in our IOS Chat Sample

manohar-techahead commented 1 year ago

Thanks for your prompt response @VladimirNybozhinsky . Issue is resolved now