# call-number **Repository Path**: youffeng/call-number ## Basic Information - **Project Name**: call-number - **Description**: call-number - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-01-13 - **Last Updated**: 2025-01-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README CordovaCallNumberPlugin ======================= Call a number directly from your cordova application. Install the plugin using: ``` npm install call-number ``` or ``` yarn add 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); } ```