fix crash on tap focus & warning on start (#961)
This commit is contained in:
parent
52b11f2d32
commit
59a0b44c71
|
@ -42,6 +42,11 @@ RCT_EXPORT_MODULE();
|
||||||
return self.camera;
|
return self.camera;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
+ (BOOL)requiresMainQueueSetup
|
||||||
|
{
|
||||||
|
return NO;
|
||||||
|
}
|
||||||
|
|
||||||
- (NSDictionary *)constantsToExport
|
- (NSDictionary *)constantsToExport
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -301,7 +306,7 @@ RCT_CUSTOM_VIEW_PROPERTY(captureAudio, BOOL, RCTCamera) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSArray *)customDirectEventTypes
|
- (NSArray *)customBubblingEventTypes
|
||||||
{
|
{
|
||||||
return @[
|
return @[
|
||||||
@"focusChanged",
|
@"focusChanged",
|
||||||
|
|
Loading…
Reference in New Issue