# cordova-plugin-native-dialer

> Cordova Plugin Native Dialer

Latest version **1.0.0** (published 2018-02-17) · Apache 2.0 license · 0 weekly downloads

## Install

```sh
npm install cordova-plugin-native-dialer
pnpm add cordova-plugin-native-dialer
yarn add cordova-plugin-native-dialer
bun add cordova-plugin-native-dialer
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-02-17 |
| First published | 2018-02-17 |
| Weekly downloads | 0 |
| License | Apache 2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Rafat Alhawash |
| Maintainers | ralhawash |
| Keywords | cordova, call, dialer, phonegap, ecosystem:cordova, cordova-ios, cordova-android |

## Links

- npm: https://www.npmjs.com/package/cordova-plugin-native-dialer
- Repository: https://github.com/RAlhawash/cordova-plugin-native-dialer
- Homepage: https://github.com/RAlhawash/cordova-plugin-native-dialer#readme
- Issues: https://github.com/RAlhawash/cordova-plugin-native-dialer/issues
- npm.io page: https://npm.io/package/cordova-plugin-native-dialer

## Recent versions

- 1.0.0 (latest) — 2018-02-17

## README

# cordova-plugin-native-dialer
=======================

Call a number directly from your cordova application.

Install the plugin using:


``` 
npm install cordova-plugin-native-dialer
```

or

```
yarn add cordova-plugin-native-dialer
```

Use the plugin in your JS file:
``` javascript
window.plugins.CallNumber.callNumber(onSuccess, onError, number, bypassAppChooser);
```

**number:** *String;* phone number to call (e.g. "1234567890")

**bypassAppChooser:** *boolean;* true if you always wish to bypass the app chooser if user has multiple applications installed that can handle calls

Make sure to create onSuccess and onError call back functions.

Example:
``` java
function onSuccess(result){
  console.log("Success:"+result);
}

function onError(result) {
  console.log("Error:"+result);
}
```

---
_Source: https://npm.io/package/cordova-plugin-native-dialer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
