Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to track the GPS coordinates as user walks, from xamarin.forms for ios platform

I just went through this link

to track GPS co-ordinates of current location as User walks with a xamarin.forms app (iOS platforms)

But I could not find how to do it, as I am born new to xamarin.forms,

Can we do this in xamarin.forms or should I Create a xamarin ios project?

Any links/tutorials to track the user location through xamarin.forms for iOS platfomrs would be appreciated, thanks in advance.

like image 338
Ravi Kiran Avatar asked Dec 19 '22 02:12

Ravi Kiran


1 Answers

The Geolocator Plugin for Xamarin and Windows is also a great way to deal with location services (such as fetching a user's current location) in a cross-platform manner.

The API is literally a few lines, and is as simple as calling one method. If you wish to do more advanced things like track a user's location in the background (use case: maps app), you can do that as well.

You can learn more about it in this blog post from Xamarin.

like image 70
Pierce Boggan Avatar answered Dec 29 '22 00:12

Pierce Boggan