Merge pull request #371 from mars-lan/master
Implement requiresMainQueueSetup to remove warning in RN 0.49
This commit is contained in:
commit
75a8c44ca8
|
@ -38,6 +38,11 @@ RCT_EXPORT_MODULE();
|
|||
return dispatch_queue_create("pe.lum.rnfs", DISPATCH_QUEUE_SERIAL);
|
||||
}
|
||||
|
||||
+ (BOOL)requiresMainQueueSetup
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
|
||||
RCT_EXPORT_METHOD(readDir:(NSString *)dirPath
|
||||
resolver:(RCTPromiseResolveBlock)resolve
|
||||
rejecter:(RCTPromiseRejectBlock)reject)
|
||||
|
|
Loading…
Reference in New Issue