diff --git a/Libraries/CameraRoll/RCTImagePickerManager.m b/Libraries/CameraRoll/RCTImagePickerManager.m index b8e570cfcd7..9ccc24845e7 100644 --- a/Libraries/CameraRoll/RCTImagePickerManager.m +++ b/Libraries/CameraRoll/RCTImagePickerManager.m @@ -52,9 +52,14 @@ RCT_EXPORT_MODULE(ImagePickerIOS); 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