Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

iOS not receiving pending APNs push notification after turn on device or Internet again

$
0
0

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       }    }

Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>