react-native-exif-metadata
TypeScript icon, indicating that this package has built-in type declarations

0.1.9 • Public • Published

react-native-exif-metadata

This package used to update or get image meta data.

Installation

Compatibility

Only support android for now. require react-native >= 0.69

npm install react-native-exif-metadata

Usage

import { getMetaData,saveImageMetaInformation } from 'react-native-exif-metadata';

await saveImageMetaInformation({
  base64String: "base64 image path", 
  latitude: 'latitude in double', 
  longitude: 'longitude in double',
  dateTime: 'date time in string',
  onSuccess: (path)=>{
    console.log("image updated path",path);
  }
})

getMetaData({
  imagePath: "image path",
  onSuccess: (imageMetaData)=>{
    console.log("image meta data",imageMetaData);
  }
})

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

Supported props.

Prop Type Default Description
latitude double 0.0 default value is 0.0
longitude double 0.0 default value is 0.0
dateTime string time in string

Package Sidebar

Install

npm i react-native-exif-metadata

Weekly Downloads

14

Version

0.1.9

License

MIT

Unpacked Size

27.6 kB

Total Files

21

Last publish

Collaborators

  • tulsiramjangid