JohnCastle4 commented on issue #916: URL: https://github.com/apache/cordova-plugin-camera/issues/916#issuecomment-2454345334
This is a significant issue for our application. Photos are used by our users for two purposes, audit trail to prove the work they did in the field (before and after photos while time and location stamps), also for logging the condition which can be important for insurance claims, being able to prove it was taking at the location on the specific date is again important. We have photo watermarking capability which can cover this requirement, but we've always relied on being able to fall back on the exif metadata. - Check Permissions: Ensure that your app has the ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION permissions in your manifest and that they are granted at runtime. We definitely have these permissions. - Add Location to Intent: When launching the camera intent, explicitly set the location. You can use the ExifInterface to manually add the location tags to the image after capturing it. The latter part of these, we could figure temporarily, but we couldn't share the result back due to our company's open source policies. The first part implies that location can be passed through the camera intent. I'm going to check how that's done, because if that's all that's needed that would be ideal. - Use MediaStore API: If you're saving the image to a specific location, make sure to include the location metadata when inserting the image into the MediaStore. I believe we already have issues with the gallery copy and exif, to be honest as long as the image returned from the camera has the exif metadata our application is working acceptably. 1. Review Camera Implementation: If you're using a custom camera implementation, ensure that it’s configured to include location metadata in the EXIF data. I don't believe it possible for Cordova to use a custom camera on Android any more, this is why we added the watermark since our customers were previously using a custom camera with watermarking. - Check for Known Issues: Look into any known issues or changes in behavior with the camera API in the Android 14 documentation or forums. I think we've understood why the issue is occurring and we're looking for a fix now. I was wondering if you were able to verify the issue, we're concerned about this loss of functionality and finding a fix is going to become important quickly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org