capacitor-plugin-photo-library
Photo Library for Capacitor 3
Install
npm install capacitor-plugin-photo-library
npx cap sync
API
openPhotoPicker()
openPhotoPicker() => Promise<{ items: Photo[]; }>
Returns: Promise<{ items: Photo[]; }>
Interfaces
Photo
Prop | Type |
---|---|
id |
string |
base64 |
string |
dataUrl |
string |
filename |
string |
mediaType |
string |