Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting null in Android when checking exif data #5

Open
HashP08 opened this issue Jul 19, 2024 · 3 comments
Open

Getting null in Android when checking exif data #5

HashP08 opened this issue Jul 19, 2024 · 3 comments

Comments

@HashP08
Copy link

HashP08 commented Jul 19, 2024

i am trying to access image metadata in android by passing the image address in readAsync method but it is returning null for me.
On ios it is working fine
sample url - https://www.geoimgr.com/images/samples/england-london-bridge.jpg

@lodev09
Copy link
Owner

lodev09 commented Jul 19, 2024

Do you have a sample code?

@HashP08
Copy link
Author

HashP08 commented Jul 19, 2024

No, but my implementation is very basic in function call just checking the response

const result = await readAsync('https://www.geoimgr.com/images/samples/england-london-bridge.jpg')
result && console.log('result tags', result)
if(result){
// do operation
}

@lodev09
Copy link
Owner

lodev09 commented Jul 19, 2024

Ohh... I see.. I think I missed supporting web urls and IOS does it automatically 😄
I'll do a PR when I get a chance to fix it.. For now, you can use a File System package to save the image first and then read it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants