Closed Sreejithtechno closed 3 years ago
// https://api.whatsapp.com/send?phone=$phone&text=${URLEncoder.encode(message, "UTF-8")}
// const url = 'whatsapp://send?phone=$phone';
const url = "https://wa.me/?text=Your Message here";
var encoded = Uri.encodeFull(url);
if (await canLaunch(encoded )) {
await launch(encoded );
} else {
throw 'Could not launch $url';
}
How to directly open whatsapp? and selected particular number to open Is that possible?