Error on push notifications behaviour on iOS.

Hi!

I’m working on the implementation of the push notifications for our project for iOS. I’ve having some issues in the behaviour of the app regarding the push notifications behaviour and FCoreDelegates::ApplicationReceivedRemoteNotificationDelegate.

  • When the app is closed and a push notification is received, If we open the app using the app icon on the dashboard instead of pressing the push notification alert box, the app doesn’t trigger the remote notification received delegate (it should trigger).
    • If the notification constains a badge number property, the alert is displayed on the device screen, but then, it is deleted from the notification center, and also any other pending notification for the app is also deleted from the notification center (they should stay on the notification center)
    • If the notification does not contains a badge number property, the pending notifications remain on the notification center (expected behaviour)
  • If the app is opened when the push notification is received, it is procesed and the remote notification delegate is triggered. Pending notifications remain on the notification center. (expected behaviour)
  • If the app app is in background, when the push notification is received, the push is maintained in the notification center (with or without badge info), but when the app is opened using the app icon on the dashboard, not the push alert, the remote notification receivd delegate is not triggered. (it should trigger)

We’re building using Unreal 5.6.1 source on iOS

Regards.

Hi Emilio,

The following CL should address the issue of the notification being dropped on cold boot. Please let us know if it addresses that side of the issue. In the meantime, I will look into the backgrounded state and circle back here.

Best regards.

Hi Stéphane.

Thank you. I think the cold boot issue is related to a previous ticket I opened previously, as the solution seems to be the same. As then, I assume this is for 5.7, but we’re working with 5.6 now, so It has to wait on our side to check if it works.

I’ll wait for your response regarding the background issue.

Regards.

Hi Emilio,

As far as I can see in testing on this side, the background notification path appears to function as intended with the CL that fixed the cold boot notification. Please advise if you are still experiencing problems once you’ve tried the change on your end.

Best regards.