react-native-macos/Libraries
Kevin Gozali 5e9f4e67d3 iOS: guard image picker logic to check for the right source type
Summary:
The logic in the method is only relevant if the sourceType is `UIImagePickerControllerSourceTypeCamera`. So we guard it here, to prevent NSInvalidArgumentException.

Changelog: [Internal]

Reviewed By: sammy-SC

Differential Revision: D19184818

fbshipit-source-id: 5c99dabfaed23629e22fdc888263bd09e8768c88
2019-12-20 01:41:02 -08:00
..
ART Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
ActionSheetIOS TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
Alert Exact-by-default codemod for react-native-github 2019-11-21 09:42:57 -08:00
Animated moved normalizeColor and changed dependencies (#27372) 2019-12-03 16:05:22 -08:00
AppState TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
BatchedBridge Exact-by-default codemod for react-native-github 2019-11-21 09:42:57 -08:00
Blob Fix BlobModule getConstants() 2019-12-11 11:31:51 -08:00
BugReporting Convert easy files to flow strict-local 2019-12-05 16:06:46 -08:00
CameraRoll iOS: guard image picker logic to check for the right source type 2019-12-20 01:41:02 -08:00
Components Re-sync with internal repository 2019-12-19 13:42:21 -08:00
Core Backwards-compatible implementation for registerCallableModule 2019-12-17 18:38:57 -08:00
DeprecatedPropTypes Convert easy files to flow strict-local 2019-12-05 16:06:46 -08:00
EventEmitter Exact-by-default codemod for react-native-github 2019-11-21 09:42:57 -08:00
Experimental Remove IncrementalPresenter 2019-12-07 10:41:54 -08:00
FBLazyVector Daily `arc lint --take BUCKFORMAT` 2019-10-17 12:16:15 -07:00
FBReactNativeSpec Fix NativePlatformConstants 2019-12-18 08:22:09 -08:00
HeapCapture Convert easy files to flow strict-local 2019-12-05 16:06:46 -08:00
Image iOS Fabric: added support for image instrumentation [2] 2019-12-16 22:50:45 -08:00
Inspector Convert Inspector to call ref.measure 2019-12-17 20:09:25 -08:00
Interaction Convert easy files to flow strict-local 2019-12-05 16:06:46 -08:00
JSInspector Exact-by-default codemod for react-native-github 2019-11-21 09:42:57 -08:00
LayoutAnimation xplat/js/react-native-github 2019-08-09 10:11:15 -07:00
Linking Convert easy files to flow strict-local 2019-12-05 16:06:46 -08:00
LinkingIOS Make RCTLinkingManager TurboModule-compatible 2019-11-08 14:14:45 -08:00
Lists test tweaks 2019-12-19 03:00:25 -08:00
LogBox LogBox fixes for OSS 2019-12-18 19:28:56 -08:00
Modal LogBox - Update to use it's own root for the inspector 2019-12-10 02:31:38 -08:00
NativeAnimation Make RCTNativeAnimatedModule a regular NativeModule 2019-11-12 13:56:09 -08:00
NativeModules/specs Add NativeLogBox module on iOS 2019-12-10 02:31:37 -08:00
Network Exact-by-default codemod for react-native-github 2019-11-21 09:42:57 -08:00
NewAppScreen Convert easy files to flow strict-local 2019-12-05 16:06:46 -08:00
Performance Convert easy files to flow strict-local 2019-12-05 16:06:46 -08:00
PermissionsAndroid Convert easy files to flow strict-local 2019-12-05 16:06:46 -08:00
Pressability Pressability: Explicitly Commit Configurations 2019-12-15 22:07:47 -08:00
PushNotificationIOS Enabling RCTWebSocket on UIKitForMac (macOS Catalyst) (#27469) 2019-12-17 16:52:29 -08:00
RCTRequired Daily `arc lint --take BUCKFORMAT` 2019-10-17 12:16:15 -07:00
ReactNative Refactor Inspector to take a react instance 2019-12-17 18:35:00 -08:00
ReactPrivate Add annotations to ReactNativePrivateInterface 2019-08-22 17:50:36 -07:00
Renderer Convert easy files to flow strict-local 2019-12-05 16:06:46 -08:00
Settings Exact-by-default codemod for react-native-github 2019-11-21 09:42:57 -08:00
Share Share - title is not a valid attribute in iOS (#27351) 2019-12-04 15:49:22 -08:00
Storage Convert easy files to flow strict-local 2019-12-05 16:06:46 -08:00
StyleSheet Fix stylesheet validation of functions with additional prototype methods (#27264) 2019-12-17 18:25:32 -08:00
SurfaceBackedComponent Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
SurfaceHostingComponent Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
Text TextInput on iOS: Fixing `selectAll` feature for multiline text input 2019-12-15 18:51:22 -08:00
TurboModule Exact-by-default codemod for react-native-github 2019-11-21 09:42:57 -08:00
TypeSafety Treat NSNull like nil in RCTBridgingToOptional{Bool,Double} 2019-11-18 07:04:46 -08:00
Types Convert easy files to flow strict-local 2019-12-05 16:06:46 -08:00
Utilities Fix NativePlatformConstants 2019-12-18 08:22:09 -08:00
Vibration Convert easy files to flow strict-local 2019-12-05 16:06:46 -08:00
WebSocket Enabling RCTWebSocket on UIKitForMac (macOS Catalyst) (#27469) 2019-12-17 16:52:29 -08:00
Wrapper Tidy up license headers [3/n] 2019-10-16 10:06:34 -07:00
YellowBox LogBox fixes for OSS 2019-12-18 19:28:56 -08:00
__flowtests__ Manually fix places the codemod doesnt hit 2019-11-19 13:38:18 -08:00
polyfills Remove groupCollapsed from list of unsupported polyfills 2019-12-06 13:35:47 -08:00
vendor RN: Delete `merge[Into]` 2019-10-12 15:52:27 -07:00
.npmignore npmignore: ignore tests and fixtures 2018-02-27 08:42:14 -08:00
Promise.js Don't crash when pretty-format is not available 2019-11-19 16:22:29 -08:00
UTFSequence.js Clean-up $TEMPORARY$object in xplat/js/react-native-github 2019-08-21 09:58:24 -07:00
promiseRejectionIsError.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00