-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Feature]: Add geolocation EXIF data to images captured with the camera #7547
Comments
the provided repository is not accessible, can you make it public or provide the correct url? |
I apologize, it's public now |
I've verified that the code is correct, as you can see, the geolocation information is correctly returned when picking an image from the gallery that has geolocation information. But when taking a new picture from the app, the native component used by the plugin doesn't capture geolocation information, so the plugin can't return it because it's not there to return. |
This comment was marked as abuse.
This comment was marked as abuse.
Excuse me, why are my comments marked as abuse? And why was the issue closed? It persists… |
It seems that no coordinates are returned when a photo(s) are picked on an Android device - see ionic-team/capacitor-plugins#2147 |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out. |
Description
Add the additional EXIF data to images captured with the camera, in the same way images from the gallery already do.
Platforms
Request or proposed solution
GPSLatitude, GPSLatitudeRef, GPSLongitude and GPSLongitudeRef should be in the EXIF data. Right now exif does not include those on iOS platform
Alternatives
No response
Additional Information
It seems it is implemented #2284 but works only on Android, not on iOS.
Example repo
Additionally, we should be able to retrieve information after capture or selection from gallery. If we are selecting an image via the prompt, there's no way of knowing whether the image was captured or selected from gallery.
The text was updated successfully, but these errors were encountered: