Important
To receive Push Notifications from Mobile Engagement, you need to enable Silent Remote Notifications
in your application. You need to add the remote-notification value to the UIBackgroundModes array in your Info.plist file.
-
Open
info.plist
file in the project -
Right click on the top item in the list (
Information Property List
) and add a new row -
In the new row enter
Required background modes
-
Click on the left arrow to expand the row
-
Add the following value to the item 0
App downloads content in response to push notifications
-
Once you make the change, the info.plist XML should contain the following key and value:
<key>UIBackgroundModes</key> <array> <string>remote-notification</string> </array>
-
If you are using Xcode 7+ and iOS 9+:
- Enable Push Notifications in Targets > Your Target Name > Capabilities.