Remote notifications receive have stopped working

dai15002dai15002 Member ✭✭

In my app I could send notifications from Azure or other devices and receive it in my app's DidReceiveRemoteNotification (example is seen below) function. However later I published the app in app store and created a recurring job from the server which sends silent notifications each half hours to all the devices. Since then my application does not receive any notifications (both silent and non-silent) at all. The DidReceiveRemoteNotification is not running, however the notifications can successfully be sent to the devices so there is no problem with the APN.
Even the subscription to notifications are correct and has not been changed.

Anyone has similar problem or know the solution?

[Foundation.Export("application:didReceiveRemoteNotification:fetchCompletionHandler:")]
public async override void DidReceiveRemoteNotification(UIApplication application, NSDictionary userInfo, Action completionHandler)
{
//this function never hits when a notification is received.
}

Sign In or Register to comment.