itinance / itinance/react-native-fs
Declaration of 'RCTResizeModeContain' must be imported from module 'React.RCTGIFImageDecoder' before it is required
- Dominant language
- C++
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
When Cocoapods is used to integrate all dependencies (including RNFS) project doesn't compile with errors:
```
❌ /Users/spaluchiewicz/Repositories/experiments/RNFSpodsIntegrationTest_0599/node_modules/react-native-fs/RNFSManager.m:732:32: expected a type
...
❌ /Users/spaluchiewicz/Repositories/experiments/RNFSpodsIntegrationTest_0599/node_modules/react-native-fs/RNFSManager.m:774:23: declaration of 'RCTResizeModeContain' must be imported from module 'React.RCTGIFImageDecoder' before it is required
```
Link to test project: https://github.com/SPaluchiewiczSofomo/RNFSpodsIntegrationTest_0599
Steps to reproduce:
```
- clone https://github.com/SPaluchiewiczSofomo/RNFSpodsIntegrationTest_0599.git
- cd RNFSpodsIntegrationTest_0599/ios
- pod install
- cd ..
- react-native run-ios
```
Issue doesn't appear with react-native version >= `0.60.0`
Link to test project with react-native@0.60.5: https://github.com/SPaluchiewiczSofomo/RNFSpodsIntegrationTest_0605
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.