rohfosho / CordovaCallNumberPlugin

Call a number directly from your cordova application.
MIT License
185 stars 151 forks source link

Cancelled dial returns CouldNotCallPhoneNumber #49

Open ppetree opened 7 years ago

ppetree commented 7 years ago

iOS 10.3.x

When window.plugins.CallNumber.callNumber() is called, the popup confirmation is displayed. If the user cancels the dial, the error callback is returned with CouldNotCallPhoneNumber.

While CouldNotCallPhoneNumber is technically true it leaves no way of discerning why you couldn't call... and technically speaking, a canceled call is not a failed call.

Would you please add a more accurate error message?

Thanks!

ppetree commented 5 years ago

Damn! Over a year and not even a comment on this...