Reputation: 1668
Expo built-in image picker allows to pick images, how can you use it to pick videos.
Upvotes: 2
Views: 4150
Reputation: 57
Here is what you need.
let result = ImagePicker.launchImageLibraryAsync({
mediaTypes:'Videos',
});
///all----Images or Videos
Upvotes: 2
Reputation: 10501
Searching the Github repository, shows two issues for this 1 2 which point to this feature request that is In Progress. They state that it won't be ready until SDK20 which is due for release in August.
If you cannot wait, you can poke around the source code for undocumented options to try and get this working but I wouldn't recommend it since they may be bugs and the API may change in in newer releases. For example, you can check out these files:
Upvotes: 1