Xam.Plugin.Geolocator 3.0.4

Easily access geolocation across Xamarin.iOS, Xamarin.Android and Windows.

       Example:
       var locator = CrossGeolocator.Current;
       locator.DesiredAccuracy = 100; //100 is new default

       var position = await locator.GetPositionAsync (timeoutMilliseconds: 10000);

       Console.WriteLine ("Position Status: {0}", position.Timestamp);
       Console.WriteLine ("Position Latitude: {0}", position.Latitude);
       Console.WriteLine ("Position Longitude: {0}", position.Longitude);

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.8.1 or higher.

Install-Package Xam.Plugin.Geolocator -Version 3.0.4
dotnet add package Xam.Plugin.Geolocator --version 3.0.4
<PackageReference Include="Xam.Plugin.Geolocator" Version="3.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xam.Plugin.Geolocator --version 3.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Xam.Plugin.Geolocator, 3.0.4"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

Release Notes

[3.0.4]
        -Use latest permissions plugin
        [3.0.4]
        -Breaking Changes:
        ---Changed StartListening and StopListening to Task that return a bool of success or failure
        ---New Namespace: Plugin.Geolocator
        ---Android API 14+ only
        ---Requires Compile Against Android API 23 (6.0)
        -Automatically Prompt on Android for Permissions
        -Add readme.txt
        
        -Enhancements:
        ---Automatically add needed android permissions
        ---Check for permissions before StartListening on Android
        ---UWP Support

NuGet packages (21)

Showing the top 5 NuGet packages that depend on Xam.Plugin.Geolocator:

Package Downloads
AppCreator
Open-source base project for my Xamarin.Forms based AppCreator
Ecommunity.Mobile
Ecommunity.Mobile library
SCV.Core
Librearía Core que contiene la estructura básica de ViewModels, Servicios, y Convertidores de SCV
SheshaMobile.Modules.TimeAndAttandence
The home module contains common functionality and essetntials required to build an app home page
SheshaMobile.Modules.LocationTracking
The libraries module contains functionality for viewing and interacting with archived information

GitHub repositories (7)

Showing the top 5 popular GitHub repositories that depend on Xam.Plugin.Geolocator:

Repository Stars
microsoft/SmartHotel360-Mobile
SmartHotel360 Mobile
Mapsui/Mapsui
Mapsui is a .NET Map component for WPF, Xamarin.Forms, Xamarin.Android, Xamarin.iOS and UWP
Azure-Samples/MyDriving
Building IoT or Mobile solutions are fun and exciting. This year for Build, we wanted to show the amazing scenarios that can come together when these two are combined. So, we went and developed a sample application. MyDriving uses a wide range of Azure services to process and analyze car telemetry data for both real-time insights and long-term patterns and trends. The following features are supported in the current version of the mobile app.
jamesmontemagno/PermissionsPlugin
Check and Request Permissions Plugin for Xamarin and Windows
jamesmontemagno/GeolocatorPlugin
Geolocation plugin for Xamarin and Windows

Version History

Version Downloads Last updated
4.6.2-beta 18,938 10/11/2019
4.6.1-beta 7,390 7/5/2019
4.6.0-beta 4,122 5/23/2019
4.5.4-beta 14,327 11/14/2018
4.5.3-beta 2,787 11/7/2018
4.5.2-beta 3,045 10/3/2018
4.5.1-beta 2,135 10/1/2018
4.5.0.6 775,477 5/23/2018
4.5.0.6-beta 891 5/23/2018
4.5.0.4-beta 711 5/11/2018
4.5.0.3-beta 670 5/11/2018
4.2.0 195,939 1/4/2018
4.1.3.174-beta 772 12/12/2017
4.1.3 944,829 11/16/2017
4.1.2.167-beta 1,301 10/30/2017
4.1.2 35,190 10/26/2017
4.1.1.159-beta 1,201 10/25/2017
4.1.1 27,589 10/12/2017
4.1.0 2,976 10/11/2017
4.0.2-beta123 995 9/13/2017
4.0.1 194,436 7/3/2017
4.0.0.67-alpha 1,133 6/27/2017
4.0.0.64-alpha 910 6/23/2017
4.0.0.63-alpha 845 6/22/2017
4.0.0.55-beta 10,798 3/28/2017
4.0.0.54-beta 742 3/28/2017
4.0.0.53-beta 1,002 3/23/2017
4.0.0.52-beta 780 3/22/2017
4.0.0.50-beta 671 3/22/2017
4.0.0.46-beta 777 3/22/2017
4.0.0.42-beta 682 3/21/2017
4.0.0.41-beta 704 3/21/2017
4.0.0-beta12 9,946 7/7/2016
3.0.4 707,468 2/1/2016
3.0.3 5,815 12/20/2015
3.0.1 4,771 12/7/2015
2.0.0 3,088 12/1/2015
1.1.1 4,372 11/5/2015
1.1.0 4,240 9/24/2015
1.0.4 2,964 9/1/2015
1.0.3 14,824 8/28/2015
1.0.2 6,084 5/11/2015
1.0.1 2,919 2/20/2015
1.0.0 1,498 1/29/2015
Show less