Skip to content

exif data missing on images #792

Description

@nudiref

Is your feature request related to a problem? Please describe.
photos taken by react-native-camera-kit does not contain location in the exif data. for my app, i need to verify the location and date the photo was taken and report it to the customer. however, when i look into the exif data of the images captured by react-native-camera-kit, there is no location information.

for example, full exif of a photo taken by device camera looks like this:

Filename - 20260429_160957.jpg
Make - samsung
Model - SM-G950F
Orientation - Right top
XResolution - 72
YResolution - 72
ResolutionUnit - Inch
Software - G950FXXUCDUD1
DateTime - 2026:04:29 16:09:57
YCbCrPositioning - Centered
ExifOffset - 214
ExposureTime - 1/33 seconds
FNumber - 1.70
ExposureProgram - Normal program
ISOSpeedRatings - 160
ExifVersion - 0220
DateTimeOriginal - 2026:04:29 16:09:57
DateTimeDigitized - 2026:04:29 16:09:57
ComponentsConfiguration - YCbCr
ShutterSpeedValue - 1/33 seconds
ApertureValue - F 1.70
BrightnessValue - 0.87
ExposureBiasValue - 0.00
MaxApertureValue - F 1.70
MeteringMode - Center weighted average
Flash - Not fired
FocalLength - 4.20 mm
UserComment -
SubsecTime - 0023
SubsecTimeOriginal - 0023
SubsecTimeDigitized - 0023
FlashPixVersion - 0100
ColorSpace - sRGB
ExifImageWidth - 4032
ExifImageHeight - 3024
InteroperabilityOffset - 920
SceneType - A directly photographed image
ExposureMode - Auto
White Balance - Auto
DigitalZoomRatio - 0.00/0.00 x
FocalLengthIn35mmFilm - 26 mm
SceneCaptureType - Standard
Contrast - Normal
Saturation - Normal
Sharpness - Normal

GPS information: -
GPSVersionID - 2.2.0.0
GPSLatitudeRef - N
GPSLatitude - 40 5 54 (40.098333)
GPSLongitudeRef - E
GPSLongitude - 12 22 15 (12.370833)
GPSAltitudeRef - Sea level
GPSAltitude - 312 m
GPSTimeStamp - 14 9 52
GPSDateStamp - 2026:04:29

Maker Note (Vendor): -

Thumbnail: -
ImageWidth - 504
ImageLength - 376
Compression - 6 (JPG)
Orientation - Right top
XResolution - 72
YResolution - 72
ResolutionUnit - Inch
JpegIFOffset - 1286
JpegIFByteCount - 14437

exif data from a photo taken by react-native-camera-kit is as follows:

Filename - rnck_image.jpg
YResolution - 72
XResolution - 72
ImageWidth - 4032
Model - SM-G950F
Make - samsung
Software - G950FXXUCDUD1
ImageLength - 2268
YCbCrPositioning - Centered
ExifOffset - 225
Orientation - Right top
ResolutionUnit - Inch
DateTime - 2026:05:08 19:02:26
ExifVersion - 0220
ApertureValue - F 1.70
SceneType - A directly photographed image
ExposureBiasValue - 0.00
ExposureProgram - Normal program
ColorSpace - sRGB
MaxApertureValue - F 1.70
ExifImageHeight - 2268
BrightnessValue - -5.39
DateTimeOriginal - 2026:05:08 19:02:26
FlashPixVersion - 0100
SubsecTimeOriginal - 0521
White Balance - Auto
InteroperabilityOffset - 798
CustomRendered - Normal process
ExposureMode - Auto
ExposureTime - 1/17 seconds
Flash - Not fired
SubsecTime - 888
FNumber - 1.70
UserComment -
ExifImageWidth - 4032
Saturation - Normal
ISOSpeedRatings - 4000
ComponentsConfiguration - YCbCr
FocalLengthIn35mmFilm - 26 mm
SubsecTimeDigitized - 0521
Contrast - Normal
Sharpness - Normal
DigitalZoomRatio - 0.00/0.00 x
DateTimeDigitized - 2026:05:08 19:02:26
ShutterSpeedValue - 1/17 seconds
MeteringMode - Center weighted average
FocalLength - 4.20 mm
SceneCaptureType - Standard
LightSource - Auto

Thumbnail: -
ImageLength - 376
Orientation - Right top
Compression - 6 (JPG)
JpegIFOffset - 964
JpegIFByteCount - 12905
ImageWidth - 504
DateTime - 2026:05:08 19:02:26

so, the photo from react-native-camera-kit lacks all the GPS related tags.

Describe the solution you'd like
is it possible to have GPS data in the exif? is it by design/default in react-native-camera-kit that the photos lack this data, or this behavior being inherited from some other setting?

Describe alternatives you've considered
i can get the location from the device and stamp it into the exif data, but this increase the image processing time unreasonably. besides, there are no reliable/maintained libraries doing this.

Additional context
i am migrating from react-native-camera due to that library not being maintained anymore. in react-native-camera it was possible to choose whether to include exif in the captured photo data by way of a parameter, and images taken with it contained the GPS information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions