From 839358eab41969c84ea57031e4319bf661de79df Mon Sep 17 00:00:00 2001 From: Seph Soliman Date: Thu, 4 Apr 2019 10:03:42 -0700 Subject: [PATCH] Fix #23755 ("RCTImagePickerManager requires main queue setup" warning) --- Libraries/CameraRoll/RCTImagePickerManager.m | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Libraries/CameraRoll/RCTImagePickerManager.m b/Libraries/CameraRoll/RCTImagePickerManager.m index ac6db9b8070b4e..d7b57c7b7a2a11 100644 --- a/Libraries/CameraRoll/RCTImagePickerManager.m +++ b/Libraries/CameraRoll/RCTImagePickerManager.m @@ -52,9 +52,14 @@ - (id)init return self; } ++ (BOOL)requiresMainQueueSetup +{ + return NO; +} + - (void)dealloc { - [[NSNotificationCenter defaultCenter] removeObserver:self name:@"AVCaptureDeviceDidStartRunningNotification" object:nil]; + [[NSNotificationCenter defaultCenter] removeObserver:self name:@"AVCaptureDeviceDidStartRunningNotification" object:nil]; } - (dispatch_queue_t)methodQueue