@evikadar/imagemetadata
v1.0.7
Published
A custom Capacitor plugin to get image metadata
Downloads
13
Maintainers
Readme
imagemetadata
Capacitor plugin to get image metadata, specifically creation date from images stored on phone.
Install
npm install imagemetadata
npx cap sync
API
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------- |
| options
| { value: string; } |
Returns: Promise<{ value: string; }>
getImagesBetweenDates(...)
getImagesBetweenDates(options: { validFrom: number; validTo: number; }) => Promise<{ imagePaths: string[]; }>
| Param | Type |
| ------------- | ---------------------------------------------------- |
| options
| { validFrom: number; validTo: number; } |
Returns: Promise<{ imagePaths: string[]; }>
getMetadata(...)
getMetadata(options: { filePath: string; }) => Promise<{ creationDate: number; }>
| Param | Type |
| ------------- | ---------------------------------- |
| options
| { filePath: string; } |
Returns: Promise<{ creationDate: number; }>
logCrashlyticsMessage(...)
logCrashlyticsMessage(options: { message: string; }) => Promise<void>
| Param | Type |
| ------------- | --------------------------------- |
| options
| { message: string; } |