public Task displaySpixiAlert(string title, string message, string cancel) { ISystemAlert alert = DependencyService.Get <ISystemAlert>(); if (alert != null) { alert.displayAlert(title, message, cancel); return(null); } return(DisplayAlert(title, message, cancel)); }
public Task displaySpixiAlert(string title, string message, string cancel) { try { ISystemAlert alert = DependencyService.Get <ISystemAlert>(); if (alert != null) { alert.displayAlert(title, message, cancel); return(null); } return(DisplayAlert(title, message, cancel)); }catch (Exception e) { Logging.error("Exception occured in displaySpixiAlert: " + e); } return(null); }