'Xamarin.forms make phone call without going to dialer in Android
In my Xamarin.forms app, I can call a specified phone number using Xamarin.Essential plugin. The problem I am facing is, when I click to call on my app in Android it will open the phone dialer and the user should manually click call.
In iOS, it will directly place a call without going to the dialer. What my intention is to prevent editing of the number in the dialer.
So, How can I call the number without going into dialer instead it should show calling screen directly in android? I have seen many posts, but I didn't get any ideas. Any help is appreciated.
I am making a call using xamarin.Essential plugin like this
PhoneDialer.Open(PhoneNumber.Text);
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|