Managed to get the Android push notification work fine and it works great whether the app is active or not. But I have not had much success in getting the notification working on iOS. I followed the steps mentioned in (https://docs.microsoft.com/en-us/gaming/playfab/features/engagement/push-notifications/push-notifications-for-ios) and created a test app.
I am able to see the notifications for a given player, but on clicking 'Send push notification', nothing happens in the device. When the app is closed (not uninstalled), I don't see anything in the notification center either. What could be wrong?
Is the documentation missing a step? I am able to see the registration successful message too which indicates that it is setup fine. I also see the Push Notification capability is enabled. Any suggestions? Please not that I did not use the SetupNotification API in both Android and iOS. I used the game manager -> Push Notification UI to do the required setup.