Skip to content

MobileCRM.Platform.getLocationAsync

rescocrm edited this page May 15, 2023 · 3 revisions

Gets current geo-location from platform-specific location service.

If the current platform does not support the location service, returned Promise is rejected with error "Unsupported".

Arguments

Argument Type Description
age Number Max age in seconds to accept GPS.
precision Number Desired accuracy in meters.
timeout Number Timeout in milliseconds (since v10.1).
Clone this wiki locally