🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

react-native-exif-metadata

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-exif-metadata

This package used to update or get image exif data.

0.1.9
latest
Source
npm
Version published
Weekly downloads
21
40%
Maintainers
1
Weekly downloads
 
Created
Source

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.

PropTypeDefaultDescription
latitudedouble0.0default value is 0.0
longitudedouble0.0default value is 0.0
dateTimestringtime in string

Keywords

react-native

FAQs

Package last updated on 08 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts