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(api): added methods to launch the image picker and camera as promise #1873

Merged
merged 4 commits into from Nov 15, 2021

Conversation

lukebrandonfarrell
Copy link
Collaborator

  • 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 master branch, NOT a "stable" branch.

Motivation (required)

Easier API for those who want to work with promises instead of callbacks. I have found myself moving 'promisifying' code across multiple projects which use this library.

Test Plan (required)

New additions so only basic testing is needed as there is no risk of regression. We have ran tests within out application from our fork: https://github.com/Qeepsake/react-native-image-picker

@lukebrandonfarrell lukebrandonfarrell merged commit fde6838 into react-native-image-picker:main Nov 15, 2021
Johan-dutoit pushed a commit that referenced this pull request Nov 15, 2021
# [4.3.0](v4.2.1...v4.3.0) (2021-11-15)

### Features

* **api:** added methods to launch the image picker and camera as promise  ([#1873](#1873)) ([fde6838](fde6838))
@Johan-dutoit
Copy link
Collaborator

🎉 This PR is included in version 4.3.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

2 participants