Xamarin.Plugins
Xamarin.Plugins copied to clipboard
if(callTask.CanMakePhoneCall) is always False
If you are creating an issue for a BUG please fill out this information. If you are asking a question or requesting a feature you can delete the sections below.
Failure to fill out this information will result in this issue being closed. If you post a full stack trace in a bug it will be closed, please post it to http://gist.github.com and then post the link here.
Bug Information
Version Number of Plugin: 5.2.0 Device Tested On: physical iphone 5 s (no sim, but wifi) Simulator Tested On: ios 6 Version of VS: lastest Version of Xamarin: 3.2 Versions of other things you are using:
Steps to reproduce the Behavior
load sample app or use below code; private void CallOffice() { var callTask = CrossMessaging.Current.PhoneDialer; if (callTask.CanMakePhoneCall) { callTask.MakePhoneCall("+redacted", "redacted"); }
}
Expected Behavior
call be made
Actual Behavior
returned false