https://github.com/mybigday/react-native-jsi-udp
https://github.com/mybigday/react-native-jsi-udp
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mybigday/react-native-jsi-udp
- Owner: mybigday
- License: mit
- Created: 2023-05-24T17:33:21.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-28T06:10:47.000Z (7 months ago)
- Last Synced: 2025-03-23T09:48:30.270Z (3 months ago)
- Language: C++
- Size: 1.43 MB
- Stars: 11
- Watchers: 4
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# react-native-jsi-udp
High performance UDP socket for React Native using JSI.
## Installation
```sh
npm install react-native-jsi-udp
```### Android
Add this rule if you are using ProGuard:
```proguard
-keep class com.jsiudp.** { *; }
```### iOS
Add `NSLocalNetworkUsageDescription` to your `Info.plist` if you need do multicast:
```xml
NSLocalNetworkUsageDescription
Allow local network access
```## Usage
```js
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](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
## License
MIT
---
Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
---
Built and maintained by BRICKS.