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

[Android]Set photo, crash when video is selected

Open 775822253 opened this issue 7 years ago • 6 comments

On Android devices, when the mediatype is set to photo, video should not appear, but video appears. Click OK after selection, and the app crashes.

775822253 avatar Oct 28 '19 09:10 775822253

same question

GuoguoDad avatar Oct 28 '19 11:10 GuoguoDad

same question

eramudeep avatar Oct 29 '19 10:10 eramudeep

This works as intended for me on a Google Pixel 3 with Android 9 (api 28), but I am on an older version of react-native-image-picker.

npm dependencies:

"react-native": "0.59.9",
"react-native-image-picker": "0.26.7",
mediaType: "photo" mediaType: "video"
qemu-system-x86_64 2019-10-30 at 14 31 22@2x qemu-system-x86_64 2019-10-30 at 14 31 31@2x

@775822253 / @cxxylucifer Can you provide version and environment details?

rkdavidson avatar Oct 30 '19 18:10 rkdavidson

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open.

stale[bot] avatar Dec 29 '19 19:12 stale[bot]

Closing this issue after a prolonged period of inactivity. Fell free to reopen this issue, if this still affecting you.

stale[bot] avatar Jan 05 '20 19:01 stale[bot]

The problem still exists! react-native-image-picker 3.1.3 react-native 0.61.5 Honor 10 Android 10

TwilightOwl avatar Jan 12 '21 08:01 TwilightOwl