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

feat(metadata): added width, height and datetime to video for iOS and Android #1891

Merged
merged 3 commits into from
Jan 4, 2022

Conversation

lukebrandonfarrell
Copy link
Collaborator

@lukebrandonfarrell lukebrandonfarrell commented Dec 13, 2021

Added the following properties to both Android and iOS for video:

  • Added datetime (timestamp) to be returned for videos on iOS and Android.
  • Added width/height (dimensions) to be returned for video on iOS and Android.

NOTE: I introduced and ImageMetadata class and a Metadata parent class which can be used to extend metadata on images and videos going forward, and should make it easier to add stuff such as returning long/lat. Will follow up this work sometime in the future and move stuff like Image orientation / dimensions to be accessed via the Exif class.

Tested on our production application both iOS and Android.

@lukebrandonfarrell lukebrandonfarrell marked this pull request as ready for review December 14, 2021 12:29
@lukebrandonfarrell lukebrandonfarrell self-assigned this Dec 28, 2021
@Johan-dutoit Johan-dutoit merged commit 1394c23 into main Jan 4, 2022
Johan-dutoit pushed a commit that referenced this pull request Jan 4, 2022
# [4.7.0](v4.6.1...v4.7.0) (2022-01-04)

### Features

* **metadata:** added width, height and datetime to video for iOS and Android ([#1891](#1891)) ([1394c23](1394c23))
@Johan-dutoit
Copy link
Collaborator

🎉 This PR is included in version 4.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

MattDennyir added a commit to MattDennyir/react-native-image-picker that referenced this pull request Oct 19, 2022
@Johan-dutoit Johan-dutoit deleted the added_video_metadata branch June 20, 2023 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants