2. Project Settings

After adding the SDK, you need to configure your project to prepare it before starting to use the SDK.

Configuring Capabilities

  1. Go to the Capabilities tab of your target settings

  2. Under Background Modes, enable Location updates, Background fetch, and Background processing.

Setting Up Background Tasks

The Sentiance SDK occasionally schedules background work, and as such, requires a background task identifier to be specified in your project's info (Info.plist):

  1. Go to Project settings -> select a target -> Info.

  2. Add "Permitted background task scheduler identifiers" if required.

  3. Add the sub-item: com.sentiance.backgroundtask.task_processing

Last updated