メインコンテンツまでスキップ
Version: v6

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?

Don't waste precious time on plugin issues.

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

$ npm install cordova-plugin-call-directory 
$ npm install @awesome-cordova-plugins/call-directory
$ ionic cap sync

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));