Configure push notifications in ios applications

Push notifications allow an app that isn’t running in the foreground to notify its users of relevant information. Push notifications enable you to send relevant content that you manage, and to whom you wish, from a remote notification server (Accengage) which communicates with the Apple Push Notification service (APNs) that then delivers it to your application users on their devices. There is more information about APNs.

To ensure a good SDK integration and a smooth development experience, there are a few important steps that you need to take.

*This document is based on Xcode 11.

Step 1.

Select your project file. After that select signing & capabilities tab. After clicking on capability select push notification as follows.

Step 2.

As the last step, select Background Modes and select ‘background fetch’ and ‘remote notification’ items as follows.