Skip to content

Commit

Permalink
fix crash on tap focus & warning on start (react-native-camera#961)
Browse files Browse the repository at this point in the history
  • Loading branch information
kesha-antonov authored and ptomasroos committed Oct 28, 2017
1 parent 52b11f2 commit 59a0b44
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ios/RCTCameraManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ - (UIView *)view
return self.camera;
}

+ (BOOL)requiresMainQueueSetup
{
return NO;
}

- (NSDictionary *)constantsToExport
{

Expand Down Expand Up @@ -301,7 +306,7 @@ - (void)setFlashMode {
}
}

- (NSArray *)customDirectEventTypes
- (NSArray *)customBubblingEventTypes
{
return @[
@"focusChanged",
Expand Down

0 comments on commit 59a0b44

Please sign in to comment.