My phone call method is not working. When I give my mobile number directly its working. However when I pass from my DB it's not working... It's always dialing 662453...
Here is my code :
void _launchCaller(String mobile) async {
//debugPrint(mobile);
//UrlLauncher.launch('tel:${contact.phone}');
const url = "tel:mobile";
if (await canLaunch(url)) {
await launch(url);
} else {
throw 'Could not launch $url';
}
}