CoreLocation.requestLocation
----------------------------

Requests the one-time delivery of the user’s current location.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CoreLocation](component_CoreLocation.md) | [9.1](newinversion91.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "CoreLocation.requestLocation" ) ### Parameters

none

### Result

Returns OK or error.

### Description

Requests the one-time delivery of the user’s current location.  
This method returns immediately. Calling it causes the location manager to obtain a location fix (which may take several seconds).  
  
Added macOS support with MBS Plugin 11.1 for macOS 10.14 and newer.  
### See also

- [CoreLocation.hasLocation](CoreLocationhasLocation.md)

### Release notes

- **Version 11.1**
    - Added [CoreLocation.requestLocation](https://www.mbsplugins.eu/CoreLocationrequestLocation.shtml) for macOS 10.14 or newer.
- **Version 10.4**
    - Added [CoreLocation.requestLocation](https://www.mbsplugins.eu/CoreLocationrequestLocation.shtml) function for macOS.

### Blog Entries

- [MBS FileMaker Plugin, version 11.1pr5](https://www.mbsplugins.de/archive/2021-02-20/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 10.4](https://www.mbsplugins.de/archive/2020-09-15/Neues_MBS_FileMaker_Plugin_104/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 10.4 - More than 6300 Functions In One Plugin](https://www.mbsplugins.de/archive/2020-09-15/MBS_FileMaker_Plugin_104_-_Mor/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 10.4pr4](https://www.mbsplugins.de/archive/2020-08-17/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [macOS Privacy and FileMaker](https://www.mbsplugins.de/archive/2020-08-11/macOS_Privacy_and_FileMaker/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 17th February 2019 , last changed 16th February 2021

  
[CoreLocation.requestAlwaysAuthorization](CoreLocationrequestAlwaysAuthorization.md) - [CoreLocation.requestTemporaryFullAccuracyAuthorization](CoreLocationrequestTemporaryFullAccuracyAuthorization.md)

[HTML Version](CoreLocationrequestLocation.shtml)