Capacitor plugin to get image metadata, specifically creation date from images stored on phone.
npm install imagemetadata
npx cap sync
echo(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options |
{ value: string; } |
Returns: Promise<{ value: string; }>
getImagesBetweenDates(options: { validFrom: number; validTo: number; }) => Promise<{ imagePaths: string[]; }>
Param | Type |
---|---|
options |
{ validFrom: number; validTo: number; } |
Returns: Promise<{ imagePaths: string[]; }>
getMetadata(options: { filePath: string; }) => Promise<{ creationDate: number; }>
Param | Type |
---|---|
options |
{ filePath: string; } |
Returns: Promise<{ creationDate: number; }>
logCrashlyticsMessage(options: { message: string; }) => Promise<void>
Param | Type |
---|---|
options |
{ message: string; } |