Merge pull request #371 from mars-lan/master

Implement requiresMainQueueSetup to remove warning in RN 0.49
This commit is contained in:
Hagen Hübel 2017-10-29 10:07:18 +01:00 committed by GitHub
commit 75a8c44ca8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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)