Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onError callback is throwing 'CouldNotCallPhoneNumber' for dial function #9

Open
Ayan-Kumar-Saha opened this issue Aug 28, 2021 · 5 comments
Assignees

Comments

@Ayan-Kumar-Saha
Copy link

Hi,

In my application, I have a button as Call Now and I am trying to bind the button with the plugin's dial function. However, I am getting an error callback with an error as CouldNotCallPhoneNumber. My requirement is to open the android or iOS native caller app with the number dialed in it.

Can you tell me any resolution for the same?

My testing setup:

Android version: 10
App build with Angular + Cordova
My setup: Macbook Air 2020 Apple Silicon

@lakshmansha lakshmansha self-assigned this Aug 28, 2021
@lakshmansha
Copy link
Owner

I am Looking after it @Ayan-Kumar-Saha

@lakshmansha
Copy link
Owner

Hi @Ayan-Kumar-Saha ,

I have Looked at the Plugin, May I know the Mobile Number you are trying to call, the provided error only come on Android.

It required to be only Mobile Number with ISD Code, should not have consist of symbols like +, etc.,

@Ayan-Kumar-Saha
Copy link
Author

@lakshmansha I was trying with one of my other numbers. However, it was like +91XXXXXXX

@lakshmansha
Copy link
Owner

Hi @Ayan-Kumar-Saha ,

You need to remove that symbols.

@Ayan-Kumar-Saha
Copy link
Author

Ok, then I will check the same. It will be better if you mention the same in the usage description as a special note.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants