Capacitor plugin for iMessage
npm install capacitor-imessage
npx cap sync
isMessagingAvailable() => Promise<{ available: boolean; }>
Returns: Promise<{ available: boolean; }>
sendMessage(options: SendMessageOptions) => Promise<{ status: string; }>
Param | Type |
---|---|
options |
SendMessageOptions |
Returns: Promise<{ status: string; }>
Prop | Type |
---|---|
text |
string |
imageUrl |
string |