Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compass calibration screen #189

Closed
sayed-seliman opened this issue Dec 12, 2017 · 6 comments
Closed

compass calibration screen #189

sayed-seliman opened this issue Dec 12, 2017 · 6 comments

Comments

@sayed-seliman
Copy link

Hi,

is it possible to disable the compass calibration on iOS?
I'm referring to this one but I cannot find this property on the plugin

https://developer.xamarin.com/api/member/MonoMac.CoreLocation.CLLocationManagerDelegate.ShouldDisplayHeadingCalibration

Thanks

@jamesmontemagno
Copy link
Owner

There is only a get, never a set. It is pretty annoying, but out of control of the app from what I have always seen.

@sayed-seliman
Copy link
Author

so there is no way to disable? I'm asking for that because on iPhone 6 and 7 it's continuosly asking for me to calibrate, also if I already done it more and more time.
I would need to definitely disable it.

Any suggestion?

@jamesmontemagno
Copy link
Owner

No idea

@sayed-seliman
Copy link
Author

can you just indicate which is the "readonly" property on the plugin?

@jamesmontemagno
Copy link
Owner

going to re-look at the delegate

@rohitvipin
Copy link
Contributor

You can set it on the location manager you use within the framework, if this is not possible from the plugin maybe exposing the location manager can help use overriding it.

var locationManager = new CoreLocation.CLLocationManager();            
locationManager.ShouldDisplayHeadingCalibration += (CoreLocation.CLLocationManager manager) => {return false;};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants