Files
react-native/Libraries
Josh Carver 4c400a10c2 Make ImagePickerIOS.openCameraDialog work with video (fixes #17989) (#19170)
Summary:
Fixes #17989

Previously, `ImagePickerIOS.openCameraDialog` would not render a `Video` option when the camera screen opened. If you passed `ImagePickerIOS.openCameraDialog({ videoMode: true }, ...)` the app would crash with an error complaining about the proper mediaType(s) not being set (see issue: #17989  for full details).

This is a 2 line change that sets the mediaTypes properly, so now users can capture videos in addition to photos.
Pull Request resolved: https://github.com/facebook/react-native/pull/19170

Differential Revision: D14068078

Pulled By: hramos

fbshipit-source-id: d04a3d267ca83ea58e88c880a85ac34ddd4744c8
2019-02-13 13:27:18 -08:00
..
2019-02-04 17:46:56 -08:00
2018-12-11 20:01:00 -08:00
2019-02-01 09:35:42 -08:00
2019-01-17 02:41:59 -08:00
2019-01-28 03:57:42 -08:00
2019-02-11 16:50:40 -08:00
2018-10-31 01:37:26 -07:00
2019-02-04 17:46:56 -08:00
2018-09-27 14:18:31 -07:00
2019-02-11 09:06:43 -08:00
2018-11-26 06:28:24 -08:00