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

Use ReactModule annotation from react-native 0.58 #9

Closed
wants to merge 1 commit into from

Conversation

staltz
Copy link
Contributor

@staltz staltz commented Apr 10, 2019

As react-native 0.58 release notes mention, these native modules now need a Java annotation.

I noticed that without this change, a runtime crash occurs.

@jaimecbernardo jaimecbernardo self-requested a review April 11, 2019 10:10
@jaimecbernardo
Copy link
Member

Hi @staltz,

Thank you for the PR.
This didn't seem to cause any issues in my test projects, but this was probably because I wasn't using any API that's made available by this annotation.

I still have to run some tests but it LGTM.

jaimecbernardo pushed a commit that referenced this pull request Apr 15, 2019
As react-native 0.58, native modules now need the ReactModule
Java annotation.

PR-URL: #9
Refs: https://github.com/react-native-community/react-native-releases/blob/72dde0d270685f44d2f827544267502dcb0b6235/CHANGELOG.md#058
Reviewed-By: Jaime Bernardo <jaime@janeasystems.com>
Copy link
Member

@jaimecbernardo jaimecbernardo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the Contribution!
Landed in 829ec3a

softdevjs7 added a commit to softdevjs7/nodejs-mobile-react-native that referenced this pull request Sep 30, 2022
As react-native 0.58, native modules now need the ReactModule
Java annotation.

PR-URL: JaneaSystems/nodejs-mobile-react-native#9
Refs: https://github.com/react-native-community/react-native-releases/blob/72dde0d270685f44d2f827544267502dcb0b6235/CHANGELOG.md#058
Reviewed-By: Jaime Bernardo <jaime@janeasystems.com>
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