1.0.7 • Published 1 year ago
@evikadar/imagemetadata v1.0.7
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; } |