react-native-image-crop-picker icon indicating copy to clipboard operation
react-native-image-crop-picker copied to clipboard

feat: Add "any" mediaType support for openCamera on iOS

Open gabrieldonadel opened this issue 2 years ago • 3 comments

Description

This adds support for the any mediaType when using the openCamera function on iOS, allowing users to either take a picture or record a video. Unfortunately with the current approach, there's no way to add support for the any mediaType on Android, as we use different intents depending on the selected media type and android does not have an intent that supports both taking images and recording videos.

gabrieldonadel avatar Mar 21 '22 21:03 gabrieldonadel

@ivpusic could you please review this?

gabrieldonadel avatar Aug 31 '22 22:08 gabrieldonadel

@gabrieldonadel how can i import your lib

thanggggg1 avatar Sep 05 '22 03:09 thanggggg1

@gabrieldonadel how can i import your lib

You can patch react-native-image-crop-picker and apply these changes manually using patch-package

gabrieldonadel avatar Sep 05 '22 12:09 gabrieldonadel

@gabrieldonadel I'm assuming patch-package is the only way to get this change in considering this didn't make to an official release?

brianMxBm avatar Jun 06 '23 00:06 brianMxBm

@gabrieldonadel I'm assuming patch-package is the only way to get this change in considering this didn't make to an official release?

Yeah @MxBM, unfortunately @ivpusic has not reviewed this yet

gabrieldonadel avatar Jun 06 '23 00:06 gabrieldonadel