Repository navigation
Releases: pushpender-singh-ap/react-native-peer
Releases · pushpender-singh-ap/react-native-peer
Release list
v2.0.0-beta.1 (pre-release)
✨ Highlights
- 📦 Bundled PeerJS 1.5.2 → 1.5.5
- ⚡ Parcel 1.12.3 → 2.16.4 — bundle 122 kB → 64.9 kB, build ~11s → ~2s
- 🧹 Slimmer patch and pinned toolchain (
package-lock.jsoncommitted)
💥 Breaking changes
- CBOR serialization removed (dropped upstream in PeerJS 1.5.5). Use the
default or MsgPack serializer instead ofserialization: "Cbor"/CborPeer. - Bundle output is now ESM (was a Parcel 1 UMD-style shim). Standard
import Peer from 'react-native-peer'is unaffected.
📥 Install
npm install react-native-peer@2.0.0-beta.1🙏 Feedback
If a data/media connection works (or doesn't) for you on this beta, please open
an issue.
What's Changed
- release: v2.0.0-beta.1 — upgrade peerjs to 1.5.5 and migrate to Parcel 2 by @pushpender-singh-ap in #2
New Contributors
- @pushpender-singh-ap made their first contribution in #2
Full Changelog: 1.1.0...2.0.0-beta.1
v2.0.0 — Full PeerJS API on native WebRTC
v2.0.0 — Full PeerJS API on native WebRTC
First stable release of the v2 line. react-native-peer now exposes the
complete PeerJS 1.5.5 API running on React Native's native WebRTC engine
via react-native-webrtc.
Highlights
- 🔌 Same PeerJS API — wraps PeerJS
1.5.5; existing PeerJS code and the
official docs apply directly. - 💬 Data connections — send/receive JSON, strings, and binary data.
- 🎥 Media connections — peer-to-peer video and audio calls.
- 📱 iOS & Android — native WebRTC through
react-native-webrtc. - 🧩 TypeScript types re-exported from PeerJS.
⚠️ Breaking changes (from 1.x)
- New required peer dependency:
react-native-webrtc>= 118must be installed and configured. - Minimum
react-native>= 0.71. - Not compatible with Expo Go — use a development build.
Installation
npm install react-native-peer react-native-webrtcSee the README
Docs
- Data connections, video/audio calls, ICE server config, and self-hosted
PeerServer guides are all in the rewritten README.
What's Changed
- release: v2.0.0-beta.1 — upgrade peerjs to 1.5.5 and migrate to Parcel 2 by @pushpender-singh-ap in #2
- docs: overhaul README and release v2.0.0 by @pushpender-singh-ap in #3
New Contributors
- @pushpender-singh-ap made their first contribution in #2
Full Changelog: 1.1.0...2.0.0
Release 1.1.0
v1.1.0 Released
A React Native wrapper for PeerJS. PeerJS simplifies WebRTC peer-to-peer data, video, and audio calls.