From 5475f026b54df641015ec31631d8081c98ba9f73 Mon Sep 17 00:00:00 2001 From: mars-lan Date: Sat, 28 Oct 2017 14:59:53 -0700 Subject: [PATCH] Implement requiresMainQueueSetup to remove warning in RN 0.49 --- RNFSManager.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/RNFSManager.m b/RNFSManager.m index 1dc9d57..40c43e3 100755 --- a/RNFSManager.m +++ b/RNFSManager.m @@ -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)