jamesmontemagno / GeolocatorPlugin

Geolocation plugin for Xamarin and Windows
MIT License
294 stars 158 forks source link

Only Process Most Recent Location #346

Closed TheWatchfulOne closed 3 years ago

TheWatchfulOne commented 3 years ago

Please take a moment to fill out the following:

Fixes #332

Changes Proposed in this pull request: -Apple's -(void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations method declared by CLLocationManagerDelegate inputs an array of locations where the last location is the most recent. Previous locations in the array may be older, therefore we should only process the last one.

TheWatchfulOne commented 3 years ago

@jamesmontemagno Is there any way to get this linked to issue #332 ? Linked issues is disabled for me, presumably because I don't have write access to this repo. Also, is there anything missing that is causing this PR to not be reviewed?