protected override async void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); Shaker.RepeatBehavior = RepeatBehavior.Forever; Shaker.Begin(); var status = await Geolocator.RequestAccessAsync(); if (status == GeolocationAccessStatus.Denied) { // You should give me a location } else { // Got it locations.DesiredAccuracy = PositionAccuracy.Default; locations.DesiredAccuracyInMeters = 1000; await FetchNearbyCoffee(); } }