You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Description
When using the camera on iOS and capturing an image or video, the
asset.timestamp
is undefined whenincludeExtra: 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
The text was updated successfully, but these errors were encountered: