Skip to content

Commit bbafdc1

Browse files
committed
Fixed RCTImageLoaderProtocol/RCTImageLoader deprecation
1 parent 8c08573 commit bbafdc1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.flowconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
7070
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
7171

7272
[version]
73-
0.78.0
73+
0.109.0

RNFSManager.m

+5
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@
1414

1515
#import <React/RCTEventDispatcher.h>
1616
#import <React/RCTUtils.h>
17+
18+
#if __has_include(<React/RCTImageLoader.h>)
19+
#import <React/RCTImageLoader.h>
20+
#else
1721
#import <React/RCTImageLoaderProtocol.h>
22+
#endif
1823

1924
#import <CommonCrypto/CommonDigest.h>
2025
#import <Photos/Photos.h>

0 commit comments

Comments
 (0)