# suc-call-number

> CordovaCallNumberPlugin =======================

Latest version **1.0.0** (published 2022-01-07) · Apache 2.0 license · 0 weekly downloads

## Install

```sh
npm install suc-call-number
pnpm add suc-call-number
yarn add suc-call-number
bun add suc-call-number
```

## 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 | 2022-01-07 |
| First published | 2022-01-07 |
| Weekly downloads | 0 |
| License | Apache 2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | ylzc |

## Links

- npm: https://www.npmjs.com/package/suc-call-number
- npm.io page: https://npm.io/package/suc-call-number

## Recent versions

- 1.0.0 (latest) — 2022-01-07

## README

CordovaCallNumberPlugin
=======================

Call a number directly from your cordova application.

Install the plugin using:

``` java
cordova plugin add https://github.com/Rohfosho/CordovaCallNumberPlugin.git
```

or

``` java
npm install call-number
```

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/suc-call-number · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
