mirror of
https://github.com/status-im/react-native-camera.git
synced 2026-08-31 05:31:07 +00:00
fix crash on tap focus & warning on start (#961)
This commit is contained in:
committed by
Tomas Roos
parent
52b11f2d32
commit
59a0b44c71
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user