0.0.6 • Published 1 year ago

share-to-whatsapp v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

share-to-whatsapp

The share-to-whatsapp plugin allows you to easily share images and PDF files directly to a specified WhatsApp number from your Ionic/Capacitor application.

Install

npm install share-to-whatsapp
npx cap sync

API

shareImage(...)

shareImage(options: { base64?: string; fileName?: string; phoneNumber?: string; message?: string; bundleId: string; }) => Promise<void>
ParamType
options{ base64?: string; fileName?: string; phoneNumber?: string; message?: string; bundleId: string; }

sharePdf(...)

sharePdf(options: { base64?: string; fileName?: string; phoneNumber?: string; message?: string; bundleId: string; }) => Promise<void>
ParamType
options{ base64?: string; fileName?: string; phoneNumber?: string; message?: string; bundleId: string; }

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago