Call Directory
This plugin can add phone numbers to an Callkit call directory extension. Call reloadExtension
after using addIdentification
and removeIdentification
to process the changes in the call directory extension.
https://github.com/GEDYSIntraWare/cordova-plugin-call-directory
Stuck on a Cordova issue?
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
- Capacitor
- Cordova
- Enterprise
$ npm install cordova-plugin-call-directory
$ npm install @awesome-cordova-plugins/call-directory
$ ionic cap sync
$ ionic cordova plugin add cordova-plugin-call-directory
$ npm install @awesome-cordova-plugins/call-directory
Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us
Supported Platforms
- iOS
Usage
React
Learn more about using Ionic Native components in React
Angular
import { CallDirectory } from '@awesome-cordova-plugins/call-directory/ngx';
constructor(private callDirectory: CallDirectory) { }
let items = [{label: "Hello", number: "123"}];
this.callDirectory.addIdentification(items)
.then((res: any) => console.log(res))
.catch((error: any) => console.error(error));
this.callDirectory.reloadExtension()
.then(res: string) => console.log(res))
.catch((error: any) => console.error(error));