I am using canLaunchUrl
to launch a UPI payment URL. This is working fine in Android but does not work in iOS. In iOS, they are not launching the URL instead they are moving to the else case and showing the toast message that we gave in the code. The UPI Url does not have any problem as we checked it separately. Moreover, canLaunchUrl
works as it launches the phone number and email. Please help me to solve this problem.
Since canLaunch
is deprecated I used canLaunchUrl
and updated url_launcher to the latest version. But this too didn't work for me.