0

I need to know how can I open WhatsApp from my app to a specific number. For Android, the following is working fine but I don't know if it works with iOS. Here is my code for Android:

try
{
    Device.OpenUri(new Uri("whatsapp://send?phone=+678115361041"));
}
catch (Exception ex)
{
    await DisplayAlert("Not Installed", "Whatsapp Not Installed", "ok");
    await DisplayAlert("", ex.Message, "ok");
}
Happypig375
  • 1,022
  • 1
  • 12
  • 32
waqas waqas
  • 197
  • 9
  • 22

0 Answers0