Skip to main content
Version: v5

Call Number

Call a number directly from your Cordova/Ionic application. NOTE: The iOS Simulator (and maybe Android Simulators) do not provide access to the phone subsystem.

github.com/Rohfosho/CordovaCallNumberPlugin

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.

Installation

$ npm install call-number $ npm install @awesome-cordova-plugins/call-number $ ionic cap sync

Supported Platforms

  • Android
  • iOS

Usage

React

Learn more about using Ionic Native components in React

Angular

import { CallNumber } from '@awesome-cordova-plugins/call-number/ngx';

constructor(private callNumber: CallNumber) { }

...


this.callNumber.callNumber("18001010101", true)
.then(res => console.log('Launched dialer!', res))
.catch(err => console.log('Error launching dialer', err));