fix crash on tap focus & warning on start (#961)

This commit is contained in:
Kesha Antonov
2017-10-28 08:28:15 +02:00
committed by Tomas Roos
parent 52b11f2d32
commit 59a0b44c71
+6 -1
View File
@@ -42,6 +42,11 @@ RCT_EXPORT_MODULE();
return self.camera;
}
+ (BOOL)requiresMainQueueSetup
{
return NO;
}
- (NSDictionary *)constantsToExport
{
@@ -301,7 +306,7 @@ RCT_CUSTOM_VIEW_PROPERTY(captureAudio, BOOL, RCTCamera) {
}
}
- (NSArray *)customDirectEventTypes
- (NSArray *)customBubblingEventTypes
{
return @[
@"focusChanged",