rohfosho / CordovaCallNumberPlugin

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

International Call or Initial Zero Number #74

Open dimitriteixeira opened 5 years ago

dimitriteixeira commented 5 years ago

Hello everybody!

I needed to make a call either in the international standard or with zero at the beginning of the call. I tried in the International standard, in the following format: +5519XXXXXXXX (where "X" is a number) for example...but the result omits the "+" plus signal. He calls 5519XXXXXXXX.

So I tried in the format with zero before the number. Ex: 019XXXXXXXX. But the result removes the initial zero. He calls 19XXXXXXXX.

How can I make an international call or initial zero number? I will be grateful for any help!

VierenV commented 5 years ago

Same problem for me, when I run a call with international prefix (+33 for instance), the plugin throws an error.

dimitriteixeira commented 5 years ago

Same problem for me, when I run a call with international prefix (+33 for instance), the plugin throws an error.

I solved this directly with a link, like this: a href="tel:+5519xxxxxxxx" class="button button-positive" Call me

It was not what I wanted, but it works!