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

Xamarin Forms - How to avoid Calibration screen pops up while using app.

$
0
0

We have xamarin forms application and I am using Xam.Plugin.Geolocator plugin inorder to access the location (lat and long) service.

ISSUE:
Here, while using my app, at some cases, the OS invokes the calibration screen over my application.

It can be fixed using the below code in Xamarin.iOS :

#if DEBUG
iPhoneLocationManager.ShouldDisplayHeadingCalibration += (CLLocationManager manager) => {return false;};
#endif

BUT ISSUE IS -- HOW TO FIX THIS IN XAMARIN FORMS APPLICATION.

Please anyone help me to fix the issue. Thank you in advance.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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