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(ios): return fileSize of video on iOS #1848

Conversation

helenaford
Copy link
Contributor

@helenaford helenaford commented Oct 16, 2021

Thanks for submitting a PR! Please read these instructions carefully:

  • Explain the motivation for making this change.
  • Provide a test plan demonstrating that the code is solid.
  • Match the code formatting of the rest of the codebase.
  • Target the main branch, NOT a "stable" branch.

Motivation (required)

Helps when validating a video a user has selected and helps to know if you need to optimize the video based on its file size

Test Plan (required)

@andrey-shostik
Copy link

@Johan-dutoit Please merge the improvement

@Johan-dutoit
Copy link
Collaborator

My concern with merging this

  • Docs says photos only
  • Android video size missing

I'm happy with android being skipped (for now) in favour of the docs saying video only for ios

@helenaford
Copy link
Contributor Author

@Johan-dutoit thanks for the feedback, I've updated the docs to reflect the changes to the API 🙏

@Johan-dutoit Johan-dutoit merged commit fb85cfd into react-native-image-picker:main Nov 10, 2021
Johan-dutoit pushed a commit that referenced this pull request Nov 10, 2021
# [4.2.0](v4.1.2...v4.2.0) (2021-11-10)

### Features

* **ios:** return fileSize of video on iOS ([#1848](#1848)) ([fb85cfd](fb85cfd))
@Johan-dutoit
Copy link
Collaborator

🎉 This PR is included in version 4.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

MattDennyir pushed a commit to MattDennyir/react-native-image-picker that referenced this pull request Oct 19, 2022
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

3 participants