jamesmontemagno / Xamarin.Plugins

Cross-platform Native API Access from Shared Code!
MIT License
1.3k stars 380 forks source link

Xam.Geolocator does not work on iOS 9.3 #277

Closed jj09 closed 8 years ago

jj09 commented 8 years ago

Please take a moment to fill out the following (change to preview to check or place x in []):

This is a

Which plugin does this impact:

Version Number of Plugin: 4.0.0-beta2 Device Tested On: iPhone 5s (working with iOS 8.x, does not after update to 9.3.1), Apple Store (failed certification on iOS 9.3.1) Simulator Tested On: iPhone 6S

Expected Behavior

var position = await locator.GetPositionAsync (timeoutMilliseconds: 100000); returns location

Actual Behavior

fails with System.NullReferenceException thrown inside plugin code

Steps to reproduce the Behavior

try to get location with

var position = await locator.GetPositionAsync (timeoutMilliseconds: 100000);

on iOS 9.3.x with Xam.Geolocator v4.x

jamesmontemagno commented 8 years ago

I do not believe the beta2 of 4.0 is ready yet for production at all. it is still a WIP. Thanks for the feedback though and will take a look.

MatthewGerber commented 8 years ago

This works for me using beta4 on iOS 9.3.1, iPhone 5s.

jamesmontemagno commented 8 years ago

@jj09 can you validate?

jamesmontemagno commented 8 years ago

This issue was moved to jamesmontemagno/GeolocatorPlugin#6