tiagosito tiagosito - 2 months ago 7
iOS Question

iOS - Push notifications when the App is closed

I have problem, my app is fully closed or the user closed the app, it is really dead, push notifications do not arrive to the application, what should I do? the message goes with the content_available = true
Someone has sulução?
Please HELP ME

Answer

This is default system behaviour. If you Application is terminated by the user (from the App switcher), Silent Push Notifications (content_available = true) will not wake the Application, i.e. Application:didreceiveremotenotification will not be called.

If you want the user to be notified, do not send a Silent Push Notification. Send a normal push notification which will show up in the user's notification tray.