Thank you for your reply.
I understand these limitations but my use case is different.
I only expect to get the notifications while my app is in the foreground.
So far i am testing with the debugger attached and still not getting the didReceiveRemoteNotification triggered.
The didReceiveRemoteNotification does not get triggered even for alert notification.
I only get the willPresent function triggered when receiving alert notification.
Any idea why the didReceiveRemoteNotification is not getting triggered?