Call Directory

Contents

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?

Installation

Community Enterprise
ionic cordova plugin add cordova-plugin-call-directory npm install @ionic-native/call-directory
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More   or   Contact Us
ionic activate-native-ee --key=YOURPRODUCTKEY ionic integrations add @ionic-native/call-directory

Supported Platforms

  • iOS

Usage

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