I'm trying to implement push notifications on ios devices and send notification from one player to challenge some other player for a battle. I can test this for android devices from within Unity Editor successfully.
I used PlayFabClientAPI.ExecuteCloudScript to send notification to a user and it worked on Android when I challenged a player (on Android) from within Unity Editor, I received a notification on android device as expected.
When I tried doing the same for IOS, I used PlayFabServerAPI.SendPushNotification and got success response when challenging from within Unity Editor to an ios device, but can't see a notification on the ios device. I've tried it multiple times and got success response as the other player is registered for APNS (which I can see from the player details in the playfab dashboard), but still no notification can be seen on the device.
Will I need to send notification from an other IOS device rather than Unity editor or I'm doing something wrong?
Note : When I test my app for push notification using Easy APN provider I receive notifications easily.
Also, I can't seem to find a method (function) that runs when a notification message arrives when my app is open. In Firebase, I have MessageReceived which I can use but for ios I don't understand what to do. @Brendan Please Help.