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

11,300

Solution 1

We used Xamarin-Forms-Labs to do this. Works perfect with Xamarin.Forms on all platforms.

For more information: Geolocator

Solution 2

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.

Share:
11,300
Ravi Kiran
Author by

Ravi Kiran

Updated on June 04, 2022

Comments

  • Ravi Kiran
    Ravi Kiran about 2 years

    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.