implement requiresMainQueueSetup method on react-native, fixes #199
This commit is contained in:
parent
b99e712931
commit
7120a5e2c6
@ -86,6 +86,8 @@ RCT_EXPORT_MODULE(FFmpegKitReactNativeModule);
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
|
||||
- (NSArray<NSString*>*)supportedEvents {
|
||||
NSMutableArray *array = [NSMutableArray array];
|
||||
|
||||
@ -628,6 +630,10 @@ RCT_EXPORT_METHOD(getExternalLibraries:(RCTPromiseResolveBlock)resolve rejecter:
|
||||
statisticsEnabled = false;
|
||||
}
|
||||
|
||||
+ (BOOL)requiresMainQueueSetup {
|
||||
return NO;
|
||||
}
|
||||
|
||||
+ (NSDictionary*)toSessionDictionary:(id<Session>) session {
|
||||
if (session != nil) {
|
||||
NSMutableDictionary *dictionary = [[NSMutableDictionary alloc] init];
|
||||
|
Loading…
Reference in New Issue
Block a user