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.
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
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
Angular
import { CallDirectory } from '@ionic-native/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));

