iphoneAllowBackgroundLocationUpdates

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
iphoneAllowBackgroundLocationUpdates <pAllow>
Summary

Allows the app to receive location updates when it is suspended

Introduced9.6.3
OSios
Platformsmobile
Parameters
NameTypeDescription
pAllow

A boolean value specifying if the app should continue to receive location updates when put in the background.

Example
mobileStartTrackingSensor "location"
iphoneAllowBackgroundLocationUpdates "true"
iphoneAllowBackgroundLocationUpdates "false"
RelatedCommand: mobileStartTrackingSensor, mobileStopTrackingSensor
Description

Use the iphoneAllowBackgroundLocationUpdates command to allow (or disallow) the app receiving location updates when it is suspended.

This command has an effect only if "Location Update" is checked in the "Background Execution" section in the iOS standalone settings.