# react-native-exif-metadata

> This package used to update or get image exif data.

Latest version **0.1.9** (published 2023-12-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-exif-metadata
pnpm add react-native-exif-metadata
yarn add react-native-exif-metadata
bun add react-native-exif-metadata
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.9 |
| Published | 2023-12-08 |
| First published | 2023-12-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >= 18.0.0 |
| Dependencies | 0 |
| Unpacked size | 27 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | tulsiram1997 |
| Maintainers | tulsiramjangid |
| Keywords | react-native, ios, android, react-native-exif-metadata, react-native-exif, react-native-metadata |

## Links

- npm: https://www.npmjs.com/package/react-native-exif-metadata
- Repository: https://github.com/tulsiram1997/react-native-exif-metadata
- Homepage: https://github.com/tulsiram1997/react-native-exif-metadata#readme
- Issues: https://github.com/tulsiram1997/issues
- npm.io page: https://npm.io/package/react-native-exif-metadata

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.1.9 (latest) — 2023-12-08
- 0.1.8 — 2023-12-07
- 0.1.7 — 2023-12-07

## README

# 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

```sh
npm install react-native-exif-metadata
```

## Usage

```js
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](CONTRIBUTING.md) 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                           |

---
_Source: https://npm.io/package/react-native-exif-metadata · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
