I am testing by installing the app locally through XCode on my iPhone.
When I enable the push notification inside the app, everything works fine. But when I exit the app completely and reopen it later, the notification is no longer received. After I disable & enable the notification again, it starts receiving it again.
The local notification still works on restarting BTW, only the push notification stops working after restarting.
Do anyone know about this issue and how to fix it? Thanks in advance!