Skip to content

Latest commit

 

History

History
61 lines (37 loc) · 1.23 KB

File metadata and controls

61 lines (37 loc) · 1.23 KB

capacitor-imessage

Capacitor plugin for iMessage

Install

npm install capacitor-imessage
npx cap sync

API

isMessagingAvailable()

isMessagingAvailable() => Promise<{ available: boolean; }>

Returns: Promise<{ available: boolean; }>


sendMessage(...)

sendMessage(options: SendMessageOptions) => Promise<{ status: string; }>
Param Type
options SendMessageOptions

Returns: Promise<{ status: string; }>


Interfaces

SendMessageOptions

Prop Type
text string
imageUrl string