question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No Image Exif Data from @3[🐛]

See original GitHub issue

Description

When I use this library with ‘launchCamera’ or ‘launchImageLibrary’, I get response.uri. I put that into react-native-exif and it throws an error column '_data' does not exist. Available columns []. It worked fine when I used response.uri from version 2.X. After I upgrade it to version 3, error is thrown.

How to repeat issue and example

  • step to reproduce the issue
launchCamera({ mediaType: 'photo', maxWidth: 400, maxHeight: 400 }, (response) => {
  Exif.getExif(response.uri).catch(console.error); // error is thrown here
})

Solution

Needs to provide exif data.

Additional Information

  • Image Picker version: 3.0.0
  • React Native version: 0.63.4
  • Platform: Android
  • Development Operating System: MacOS
  • Dev tools: WebStorm 2020.3, Android SDK 29

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:3
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

13reactions
zchwyngcommented, Dec 25, 2020

Please add Exif data to react-native-image-picker

5reactions
stu-devcommented, Jan 17, 2021

Since I have upgraded to version 3 I have experienced rotation issues on some android devices. Exif/orientation data would be useful for fixing the rotation myself

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is EXIF Data and How You Can Remove it From Your ...
If you see an error that says “Unable to extract some or all of the Exif data”, it means that the JPEG file...
Read more >
Error while trying to get the EXIF tags of the image
So if the images has no EXIF data your script will return the error because the key does not exist. You can see...
Read more >
What Is EXIF Data? 3 Ways to Remove Metadata From Photos
Most cameras embed hidden information ("metadata") in photographs taken. For privacy's sake, here's how to remove that metadata.
Read more >
What You Need to Know About Exif Data - Consumer Reports
Using Windows, you can see whether a photo has Exif data attached to it by right-clicking on the file, selecting Properties, and checking...
Read more >
EXIF metadata missing when downloading photos and videos
“ na llits oSissue 3,5years after bug created ” ... EXIF data for Creation Date is still not coming when downloading a photo...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found