You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
MSInstallationLifecycleDelegate and MSInstallationEnrichmentDelegate method are not called.
RegisteredForRemoteNotifications is called correctly.
Exception or Stack Trace
To Reproduce
Code Snippet
publicpartialclassAppDelegate:global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate,IUNUserNotificationCenterDelegate{publicoverrideboolFinishedLaunching(UIApplicationapp,NSDictionaryoptions){global::Xamarin.Forms.Forms.Init();UNUserNotificationCenter.Current.Delegate=this;LoadApplication(newApp());MSNotificationHub.SetDelegate(newAzureNotificationHubListener());MSNotificationHub.SetLifecycleDelegate(newAzureInstallationLifecycleListener());MSNotificationHub.SetEnrichmentDelegate(newAzureInstallationEnrichmentListener());MSNotificationHub.Start(Constants.NotificationHubUrl,Constants.NotificationHubName);returnbase.FinishedLaunching(app,options);}publicoverridevoidRegisteredForRemoteNotifications(UIApplicationapplication,NSDatadeviceToken){// This method is called correctlly.}publicoverridevoidFailedToRegisterForRemoteNotifications(UIApplicationapplication,NSErrorerror){;}publicclassAzureNotificationHubListener:MSNotificationHubDelegate{publicoverridevoidDidReceivePushNotification(MSNotificationHubnotificationHub,MSNotificationHubMessagemessage){// This method is called correctlly.}}publicclassAzureInstallationLifecycleListener:MSInstallationLifecycleDelegate{publicoverridevoidDidFailToSaveInstallation(MSNotificationHubnotificationHub,MSInstallationinstallation,NSErrorerror){;}publicoverridevoidDidSaveInstallation(MSNotificationHubnotificationHub,MSInstallationinstallation){// This method is not called.}}publicclassAzureInstallationEnrichmentListener:MSInstallationEnrichmentDelegate{publicoverridevoidWillEnrichInstallation(MSNotificationHubnotificationHub,MSInstallationinstallation){// This method is not called.}}
Expected behavior
DidSaveInstallation and WillEnrichInstallation are called.
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
OS: [iOS 14.7.1]
IDE : [Xcode 13.2.1][VS for Mac 8.10.19]
Version of the Library used [3.1.1]
Xamarin.Forms version 5.0.0.2337
Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
Bug Description Added
Repro Steps Added
Setup information Added
The text was updated successfully, but these errors were encountered:
Describe the bug
MSInstallationLifecycleDelegate and MSInstallationEnrichmentDelegate method are not called.
RegisteredForRemoteNotifications is called correctly.
Exception or Stack Trace
To Reproduce
Code Snippet
Expected behavior
DidSaveInstallation and WillEnrichInstallation are called.
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: