Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

How to identify mock location is enabled in android?

$
0
0
  1. I have written below code which always return 0.
    var isMock = Android.Provider.Settings.Secure.GetString(contentResolver, Android.Provider.Settings.Secure.AllowMockLocation);

Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>