High performance UDP socket for React Native using JSI.
npm install react-native-jsi-udp
Add this rule if you are using ProGuard:
-keep class com.jsiudp.** { *; }
Add NSLocalNetworkUsageDescription
to your Info.plist
if you need do multicast:
<key>NSLocalNetworkUsageDescription</key>
<string>Allow local network access</string>
import dgram from 'react-native-jsi-udp';
// The API is like Node's dgram API
const socket = dgram.createSocket('udp4');
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library
Built and maintained by BRICKS.