Azure-Samples / communication-services-ios-quickstarts

Sample code for Azure Communication Services iOS quickstarts
MIT License
12 stars 24 forks source link

No Chat Push Notifications Are being Received #58

Open srinivaskaushik opened 1 year ago

srinivaskaushik commented 1 year ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Run the Chat Push Notification quick start example, on the emulator it fails to register for push notifications. On an actual device, the registration is successful with no errors. Whenever a new message is sent, no push notification is sent or received, because the device registration on Azure notification hub is never updated.

Any log messages given by the failure

Expected/desired behavior

If the registration does not throw any error, the device should be registered on Azure Notification hub and should show in the Notification hub logs.

OS and Version?

macOS Ventura

Versions

Mention any other details that might be useful

This is an iOS purely based on Swift and no Objective-C, most Azure notification hub documentation is 3 years old and is in Objective-C


Thanks! We'll be in touch soon.

angellan-msft commented 1 year ago

Hello, please test Push Notifications on real device rather than IOS simulator. This is our recommendation for customers. Thanks!