Xamarin.Plugins icon indicating copy to clipboard operation
Xamarin.Plugins copied to clipboard

if(callTask.CanMakePhoneCall) is always False

Open JungleJ0n opened this issue 6 years ago • 0 comments

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

Code snippet

Screenshots

JungleJ0n avatar Dec 10 '18 17:12 JungleJ0n