Background Modes & Testing Notes

Background Modes

  • Select your Project from the “Project Navigator” (the righthand side panel) and go to “Capabilities”

  • Select the following “Required Background Modes”:

    • Location updates

    • Uses Bluetooth LE accessories

    • Acts as a Bluetooth LE accessory

    • Background fetch

    • Remote notifications (GeoSync feature)

    • Background processing (for BGTaskScheduler)

../../../_images/background_modes.png

Testing Notes

When testing on a physical device (specifically for background modes), please make sure that the following settings are set correctly:

Setting

Value

Location Services

Always On

Background App Refresh

On

Modile Data

On

Low Power Mode

Off

Do Not Disturb Mode

Off

Note: If one or several of the above settings are not correct, you may mnot receive background notifications. It is also important to properly communicate those settings with your end-users.

The table below explains which GeoMoby features will wake up your app for each application states. (SLC stands for Significant Location Change)

APPLICATION STATES

FOREGROUND

BACKGROUND

NOT RUNNING

ACTIVE/INACTIVE

BACKGROUNDED

SUSPENDED (OS)

KILLED (USER)

GeoSync (platform)

GeoSync (platform)

SLC (SDK)

SLC (SDK)

SLC (SDK)