Skip to content

Commit 5475f02

Browse files
committed
Implement requiresMainQueueSetup to remove warning in RN 0.49
1 parent 3081960 commit 5475f02

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

RNFSManager.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ - (dispatch_queue_t)methodQueue
3838
return dispatch_queue_create("pe.lum.rnfs", DISPATCH_QUEUE_SERIAL);
3939
}
4040

41+
+ (BOOL)requiresMainQueueSetup
42+
{
43+
return NO;
44+
}
45+
4146
RCT_EXPORT_METHOD(readDir:(NSString *)dirPath
4247
resolver:(RCTPromiseResolveBlock)resolve
4348
rejecter:(RCTPromiseRejectBlock)reject)

0 commit comments

Comments
 (0)