[๐] Timestamp undefined for iOS image/video captured in app
mattlewer opened this issue ยท 0 comments
mattlewer commented
Description
When using the camera on iOS and capturing an image or video, the asset.timestamp
is undefined when includeExtra: true
How to repeat issue and example
Take photo or video on iOS with includeExtra set to true, log the asset.timestamp, it's undefined
Solution
For asset.timestamp to use the time the image/video was taken. I can use the current time, but it's handy to pull this out of the exif data available, this currently works for Android and only fails on iOS.
Additional Information
- Image Picker version: 7.0.2
- React Native version: 0.72.6
- Platform: iOS
- Development Operating System: MacOS
- Dev tools: xCode 15.0, iPhone 12 - 17.2