react-native-exify
react-native-exify copied to clipboard
Some tags are not written
Good library, but I'm having an issue where writing some tags doesn't work. I read the metadata from a photo from a camera component and then write it to another file. The new file has most of the data but some tags are not written. Developing on iOS.
import {readAsync, writeAsync} from '@lodev09/react-native-exify'
let exifData = await readAsync(photo.path)
let uri = `${FileSystem.documentDirectory}/file.jpg`
await writeAsync(uri, exifData)
These are the tags that will not get written:
DateTime
ExifVersion
FlashPixVersion
GPSDOP
GPSImgDirection
GPSImgDirectionRef
HostComputer
Make
Model
Software