Bug
Environment info
Android API 28, Android API 27
react-native info
output:
React Native Environment Info:
System:
OS: macOS 10.15.3
CPU: (12) x64 Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
Memory: 21.18 GB / 64.00 GB
Shell: 5.7.1 – /bin/zsh
Binaries:
Node: 10.18.1 – /usr/local/opt/node@10/bin/node
Yarn: 1.22.0 – /usr/local/bin/yarn
npm: 6.13.4 – /usr/local/opt/node@10/bin/npm
Watchman: 4.9.0 – /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
IDEs:
Xcode: 11.4/11E146 – /usr/bin/xcodebuild
npmPackages:
react: 16.8.3 => 16.8.3
react-native: 0.59.9 => 0.59.9
npmGlobalPackages:
react-native-cli: 2.0.1
Library version: NEWEST
Steps To Reproduce
- integrate Image picker
- call ImagePicker.launchImageLibrary()
- mediaType: ‘mixed
- Only showing photos instead of mixed content
…
Describe what you expected to happen:
- Instead of showing just photos there has to be mixed content
i studied this deeper and found that the code that is in this package dosen’t work for all Android API versions.
libraryIntent.setType(“image/* video/*”);
I had to switch to https://github.com/ivpusic/react-native-image-crop-picker which had the updated way of doing it.