void Current_RegionStatusChanged(object sender, GeofenceStatusChangedEventArgs e)
        {
            var geofencePlaceId = e.Region.Identifier;
            var entered         = e.Status == GeofenceStatus.Entered;

            // Do whatever you want with the status

            CrossLocalNotifications.Current.Show("Office Location", e.Status.ToString());
            //((App)App.Current).ShowAlerts(sender, e);
        }
Example #2
0
 public void ShowAlerts(object sender, GeofenceStatusChangedEventArgs args)
 {
     //Current.MainPage.DisplayAlert("REGION ENTERED", args.Status.ToString(), "Cancel");
     CrossLocalNotifications.Current.Show("Office Location", args.Status.ToString());
 }