Links

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. 1.
    Go to the Capabilities tab of your target settings
  2. 2.
    Under Background Modes, enable Location updates, Background fetch, and Background processing.

Setting Up Background Tasks

Add the following background task identifiers to the project info (Info.plist), if you plan to utilize the SDK's on-device features:
  • com.sentiance.backgroundtask.tilerefresh
  • com.sentiance.backgroundtask.segment_detection
Add the following task identifier if you plan to utilize the step counting SDK feature (disabled by default):
  • com.sentiance.backgroundtask.step_counter
You can add these identifier by following these steps:
  1. 1.
    Project settings -> select a target -> Info.
  2. 2.
    Add "Permitted background task scheduler identifiers".
  3. 3.
    Add the above identifiers as sub-items.