Skip to content
This repository has been archived by the owner on May 29, 2023. It is now read-only.

angeloraso/capacitor-plugin-incoming-call-notification

Repository files navigation

capacitor-plugin-incoming-call-notification

Plugin to create an incoming call notification

Install

npm install capacitor-plugin-incoming-call-notification
npx cap sync

API

show(...)

show(data?: Partial<IncomingCallNotificationSettings> | undefined) => Promise<{ response: 'click' | 'answer' | 'decline' | 'terminate'; }>
Param Type
data Partial<IncomingCallNotificationSettings>

Returns: Promise<{ response: 'click' | 'answer' | 'decline' | 'terminate'; }>


hide()

hide() => Promise<void>

Interfaces

IncomingCallNotificationSettings

Prop Type
callerName string
callerNumber string
icon string
picture string
thereIsACallInProgress boolean
declineButtonText string
declineButtonColor string
answerButtonText string
answerButtonColor string
terminateAndAnswerButtonText string
terminateAndAnswerButtonColor string
declineSecondCallButtonText string
declineSecondCallButtonColor string
holdAndAnswerButtonText string
holdAndAnswerButtonColor string
color string
channelName string
channelDescription string

Type Aliases

Partial

Make all properties in T optional

{ [P in keyof T]?: T[P]; }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published