Guaranteed Delivery Setup

🚧

Make sure these steps are completed successfully:

Xcode settings

Background tasks are required to guarantee the delivery of push notifications, as they allow the SDK to submit events even if the app is running in the background.

For background tasks to run correctly, add the following to your info.plist parameters:

  • Required background modes:

    • App downloads content from the network;
    • App processes data in the background;
    • App downloads content in response to push notifications;
  • Permitted background task scheduler identifiers:

    • cloud.Mindbox.$(PRODUCT_BUNDLE_IDENTIFIER).GDAppRefresh;
    • cloud.Mindbox.$(PRODUCT_BUNDLE_IDENTIFIER).GDAppProcessing;
    • cloud.Mindbox.$(PRODUCT_BUNDLE_IDENTIFIER).DBCleanAppProcessing.

Background Task Registration

📘

If your AppDelegate inherits from MindboxAppDelegate, no additional changes are required to enable guaranteed delivery.