react-native-jsi-udp
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

react-native-jsi-udp

High performance UDP socket for React Native using JSI.

Installation

npm install react-native-jsi-udp

Android

Add this rule if you are using ProGuard:

-keep class com.jsiudp.** { *; }

iOS

Add NSLocalNetworkUsageDescription to your Info.plist if you need do multicast:

<key>NSLocalNetworkUsageDescription</key>
<string>Allow local network access</string>

Usage

import dgram from 'react-native-jsi-udp';

// The API is like Node's dgram API
const socket = dgram.createSocket('udp4');

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library


Built and maintained by BRICKS.

Package Sidebar

Install

npm i react-native-jsi-udp

Weekly Downloads

97

Version

1.1.1

License

MIT

Unpacked Size

86.1 kB

Total Files

29

Last publish

Collaborators

  • hans00