using Microsoft.Maui.ApplicationModel.Communication; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Justice.Helpers { public static class SmsHelper { public static async Task SendSmsAsync(string message, List recipients) { try { var smsMessage = new SmsMessage(message, recipients); await Sms.ComposeAsync(smsMessage); } catch (Exception ex) { throw new Exception($"Unable to send SMS: {ex.Message}"); } } } }