Can't register or receive Notifications from Hub on iOS Device

Hao 1 Reputation point
2020-12-31T08:58:01.443+00:00

Hi, I have setup a Azure Notification Hub in my Xamarin.Forms project. It's work fine on Android but it's not working on iOS.

I have following all the instructions but still something is missing or wrong... The RegisteredForRemoteNotifications method is never invoke when the app is launching.
But when i'm adding this line MSNotificationHub.Start(Constants.ListenConnectionString, Constants.NotificationHubName); to FinishedLaunching method it's will invoke RegisteredForRemoteNotifications method but inside the hub instance i have create it've class handle issue
52494-untitled.png

That's all the information i have for now, if you need more please just ask. I'll provide all i have to resolve this issue.
Thank you.

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
319 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,348 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Wendy Zang-MSFT 6 Reputation points
    2020-12-31T14:42:56.477+00:00

    I found this issue has be reported and would not fix now. https://github.com/MicrosoftDocs/azure-docs/issues/49731 You could try the suggestion in this comment. It maybe helpful. https://github.com/MicrosoftDocs/azure-docs/issues/49731#issuecomment-596143179

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.