You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Capacitor currently lacks a plugin for making phone calls. Therefore, it’s not possible to initiate a phone call by long-pressing a phone number in an ion-item (an Ionic component), for example. I need this for my mobile application.
I don't know if this would be possible to implement on Web since long presses are not detected as user input, shitty web... as usual, but I assume this should be possible on iOS/Android since I don't think there is the same limitation.
You should be able to use anchor tags (a) to call to numbers, i.e. <a href="tel:666666666">666666666</a>. Not on long press though, a simple click will show the options to call or open phone app with the number dialled depending on the OS and device.
Also app-launcher plugin seems to work for calling too, i.e. AppLauncher.openUrl({ url:'tel:666666666' });.
Description
Add a plugin to pass phone calls
Platforms
Request or proposed solution
Capacitor currently lacks a plugin for making phone calls. Therefore, it’s not possible to initiate a phone call by long-pressing a phone number in an ion-item (an Ionic component), for example. I need this for my mobile application.
I don't know if this would be possible to implement on Web since long presses are not detected as user input, shitty web... as usual, but I assume this should be possible on iOS/Android since I don't think there is the same limitation.
Alternatives
There is this community plugin: https://github.com/mantosh59/call-number
But it does not seem to be maintained and does not seem to work.
Additional Information
No response
The text was updated successfully, but these errors were encountered: