我使用一个api来获取用户数据,我想发送消息给每个用户,点击的应用程序号在颤音应用程序。怎么做?
发布于 2022-07-04 02:03:38
https://www.youtube.com/watch?v=-wW2ZoDuFO4&t=391s
如果风车平台你能看到我的视频
发布于 2022-07-04 07:04:24
使用插件。
https://pub.dev/packages/url_launcher
final url = "https://wa.me/91XXXXXXXXXX?text=Hello";
//do not forgot to enter your country code instead of 91 and instead of XXXXXXXXXX enter phone number.
if (await canLaunchUrl(Uri.parse(url))) {
await launchUrl(Uri.parse(url));
} else {
showSnackBar(message: "Can't share link", title: "Error");
}
if (!await launchUrl(Uri.parse(url))) throw 'Could not launch $url';https://stackoverflow.com/questions/72848293
复制相似问题