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

upgrading react-native-udp dependency to 4.0 will break #31

Open
Bridn opened this issue Sep 3, 2020 · 0 comments
Open

upgrading react-native-udp dependency to 4.0 will break #31

Bridn opened this issue Sep 3, 2020 · 0 comments

Comments

@Bridn
Copy link

Bridn commented Sep 3, 2020

Upgrading react-native-udp to ^4.0.0 will break, causing a

dgram.createSocket is not a function

I suggest to use import dgram from 'react-native-udp'; in lib/index.js instead of var dgram = require('react-native-udp');

@Bridn Bridn changed the title upgrading react-native-udp dependencie to 4.0 will break upgrading react-native-udp dependency to 4.0 will break Sep 3, 2020
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

No branches or pull requests

1 participant