MobileCRM.Platform.getLocationAsync - Resconet/JSBridge GitHub Wiki
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). |