Xamarin get location on cross platform
2 answers
This will be device specific. Probably the best approach is to create an interface in your portable class library and then implement the interface in your Android and iOS projects. The PCL will connect to the implementation through the Xamarin Forms DependencyService. Please see the following link Accessing Core Functions via DependencyService
You can probably use the other examples on the Xamarin site to write your platform-specific code. For example, here's a link to Android LocationService
+6
source to share