Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove override of createJSModules #446

Merged
merged 1 commit into from
Aug 2, 2017
Merged

Conversation

ptomasroos
Copy link
Contributor

Since of recently in master the unused createJSModules has been removed and ReactPackage's no longer contain the definition of createJSModules. There for it must be removed in order to not yield a compile error. This is breaking change.

facebook/react-native@ce6fb33

Since of recently in master the unused createJSModules has been removed and ReactPackage's no longer contain the definition of createJSModules. There for it must be removed in order to not yield a compile error. This is breaking change.

facebook/react-native@ce6fb33
@evollu
Copy link
Owner

evollu commented Jun 26, 2017

what version of react-native made the change?

@ptomasroos
Copy link
Contributor Author

It's in master. I expect next release

@deathemperor
Copy link

@evollu evollu merged commit 4c49ca7 into evollu:master Aug 2, 2017
@cooperka
Copy link
Contributor

cooperka commented Aug 21, 2017

FYI you can maintain backwards compatibility if you just remove the @Override annotation but keep the method. For example: https://github.com/rebeccahughes/react-native-device-info/pull/191/files.

@ptomasroos
Copy link
Contributor Author

Well that's not what the main rn repo suggests. And people are not forced to upgrade either without upgrading their rn version.

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.

4 participants