-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[RN 0.40] Update iOS header imports #223
Comments
@jpgarcia , Thanks for the heads up, have also noticed this change and considering if there's a better way to make the change backward compatible 😏 |
Great! I forked the repo to perform the update (at least to be able to update the package on my side for now) but it was a PITA to get it running I think that could be related with the 0.10 |
Have already published a release $ npm install --save [email protected]
$ react-native link The fix should make RNFB compatible to 0.40 and existing projects, please verify if it works as expected 👍 |
@wkh237 Thanks for the patch! It works if only you remove double quotes from every import with "<...>" |
@binchik , thanks for the remind, have fixed and published |
Hi, I tested the beta 3, but no luck, it does not work for me. Duplicate interface definition for class 'RCTBridge' nevermind, just commented the def line |
@mrKlar , thanks for the test, just applied a fix and tested on 0.40 project, please try use the latest version on npm |
It's working fine for me but only when commented the def line like mrklar said. |
Tested with "react-native-fetch-blob": "0.10.2-beta.4" and react-native 0.40.0 /node_modules/react-native/React/Base/RCTBridge.h:65:1: Duplicate interface definition for class 'RCTBridge' |
@leesolway , thanks for the feedback. I have tested the on pure RN 0.40 project for several times and it's working good on my end. $ react-native init rn040
$ npm install --save react-native-fetch-blob@beta
$ react-native link If you have installed previous versions before, please remove it ( both react-native-fetch-blob folder in |
@wkh237 thanks. |
@wkh237 it's working fine. |
@mgiachetti , thanks for the advice, sounds pretty reasonable 👍 I'll change this part and release another version. |
I have changed the prelink script in |
I still get /RCTBridge.h:65:1: Duplicate interface definition for class 'RCTBridge' with 0.10.2-beta.6 To make it work, I removed a React Native related reference from Header Search Paths like specified in: |
For projects with multiple team members requiring a call to I think:
Is a common workflow that should be supported. |
Already published to npm, please upgrade the packge to |
|
@wkh237 having no issues with beta8 on 0.40 👍 |
The headers are now under a directory called "React" that is in the compiler's include path.
This is a RN breaking change as described here so consider this to bump a new version.
The text was updated successfully, but these errors were encountered: