Skip to content

mobileias/appfueled-twilio-capacitor

Repository files navigation

appfueled-twilio-capacitor

A Capacitor plugin that integrates Twilio Voice SDK for making and receiving VoIP calls within Ionic apps. This plugin enables seamless voice functionality for Android and iOS, supporting call initiation, acceptance, and termination, along with user registration via Twilio access tokens.

Install

npm install appfueled-twilio-capacitor
npx cap sync

API

registerIncomingCallConnection(...)

registerIncomingCallConnection(options: { token: string; }) => Promise<void>
Param Type
options { token: string; }

registerOutgoingCallConnection(...)

registerOutgoingCallConnection(options: { token: string; }) => Promise<void>
Param Type
options { token: string; }

acceptIncomingCallConnection()

acceptIncomingCallConnection() => Promise<void>

rejectIncomingCallConnection()

rejectIncomingCallConnection() => Promise<void>

startOutgoingCallConnection(...)

startOutgoingCallConnection(options: { phoneNumber: string; options: { [key: string]: any; }; }) => Promise<void>
Param Type
options { phoneNumber: string; options: { [key: string]: any; }; }

terminateOutgoingCallConnection()

terminateOutgoingCallConnection() => Promise<void>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published