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

Fix wrong react-native dependency and wrong android package name #26

Merged
merged 2 commits into from
Sep 22, 2023
Merged

Fix wrong react-native dependency and wrong android package name #26

merged 2 commits into from
Sep 22, 2023

Conversation

flokol120
Copy link
Contributor

forcing a specific version of react native may result in incoherent react native versions, thus causing problems with native modules. This seems to be the fix of #21 as my debugging showed, that the EventEmitter listener did not get called. This may have been caused by the wrong version of react native forced by react-native-http-bridge-refurbished.

There were also errors within the android module, which I fixed alongside.

Please report back to me if this is also fixing #21 for you.

* forcing a specific version of react native may result in incoherent react native versions, thus causing problems with native modules -> rather use a peer dependency with a version range
* provide react as dependency as it is a peer dependency of react-native

fixes #21
+ add the react methods addListener and removeListeners within android whose absence will trigger a warning within react native in newer releases (facebook/react-native@114be1d)
@Alwinator
Copy link
Owner

Looks good! Thank you for your merge request!

@Alwinator Alwinator merged commit 1db6a2a into Alwinator:main Sep 22, 2023
@github-actions
Copy link

🎉 This PR is included in version 1.2.9 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants