capacitor-stash-media

Some helper functions for the user to stash (copy, save, etc) media from the app

Install

npm install capacitor-stash-media
npx cap sync

API

savePhoto(...)

savePhoto(options: { url: string; }) => Promise<void>
Param Type
options { url: string; }

copyPhotoToClipboard(...)

copyPhotoToClipboard(options: { url: string; }) => Promise<void>
Param Type
options { url: string; }

shareImage(...)

shareImage(options: { url: string; title: string; }) => Promise<void>
Param Type
options { url: string; title: string; }