Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.16 KB

mobile-engagement-ios-silent-push.md

File metadata and controls

26 lines (19 loc) · 1.16 KB

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.

  1. Open info.plist file in the project

  2. Right click on the top item in the list (Information Property List) and add a new row

  3. In the new row enter Required background modes

  4. Click on the left arrow to expand the row

  5. Add the following value to the item 0 App downloads content in response to push notifications

  6. 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>
    
  7. If you are using Xcode 7+ and iOS 9+:

    • Enable Push Notifications in Targets > Your Target Name > Capabilities.