Skip to content

Fix RCTBridgeModule import to work with newer react-native version#16

Open
lexor90 wants to merge 1 commit intofarmisen:masterfrom
lexor90:master
Open

Fix RCTBridgeModule import to work with newer react-native version#16
lexor90 wants to merge 1 commit intofarmisen:masterfrom
lexor90:master

Conversation

@lexor90
Copy link
Copy Markdown

@lexor90 lexor90 commented Oct 2, 2017

The current library breaks on newer RN version.

This patch fixes it by checking what kind of library it has to import, keeping backward-compatibility.

Fallback to previous include style for compatibility purposes
@abdulsemiu-atanda
Copy link
Copy Markdown

@farmisen I think this PR should be merged. I just upgraded my RN project to 0.48.3 and this fixed my failing build cc @lexor90

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants