I am developing an iOS chat app using react-native. Enabled remote notification capability. Notifications are received when the app is connected with network. Once I switched off the mobile and switching it on after a night, the pending notifications are not received. Any idea of why it is not receiving?
My notification payload will looks like,
pn_apns: {
aps: {
alert: {"title": "test", body: "hello"},
sound: "default",
content-available: 1
}
}