@edge-base/react-native 0.2.6 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -58,7 +58,7 @@ This package is one part of the wider EdgeBase platform. For the full platform,
58
58
  - [Database Client SDK](https://edgebase.fun/docs/database/client-sdk)
59
59
  Query and mutation patterns that also apply on React Native
60
60
  - [Room Client SDK](https://edgebase.fun/docs/room/client-sdk)
61
- Presence, signals, state, and media-ready room flows
61
+ Presence, signals, state, and room session flows
62
62
  - [Push Client SDK](https://edgebase.fun/docs/push/client-sdk)
63
63
  General client push concepts
64
64
 
@@ -225,57 +225,6 @@ When you pass `appState` to `createClient()`, the SDK automatically coordinates
225
225
  - background/inactive: disconnect realtime transports to reduce battery and network use
226
226
  - foreground: refresh auth state and reconnect realtime transports
227
227
 
228
- ## Room Media Transports
229
-
230
- React Native now exposes the same top-level room media transport entrypoint as the web SDK:
231
-
232
- ```ts
233
- const room = client.room('calls', 'demo');
234
- await room.join();
235
-
236
- const transport = room.media.transport({
237
- provider: 'cloudflare_realtimekit',
238
- });
239
-
240
- await transport.connect({
241
- name: 'June',
242
- customParticipantId: 'mobile-june',
243
- });
244
-
245
- await transport.enableAudio();
246
- await transport.enableVideo();
247
- ```
248
-
249
- Available providers:
250
-
251
- - `cloudflare_realtimekit`
252
- Uses Cloudflare RealtimeKit for managed media sessions
253
- - `p2p`
254
- Uses direct peer-to-peer media with signaling through `room.signals`
255
-
256
- Install the matching optional peer dependencies for the transport you use:
257
-
258
- ```bash
259
- npm install @cloudflare/realtimekit-react-native
260
- npm install @cloudflare/react-native-webrtc
261
- ```
262
-
263
- Practical integration notes from the current host-app smoke matrix:
264
-
265
- - `cloudflare_realtimekit` currently expects React Native `0.77+`
266
- - iOS needs the usual `cd ios && pod install`
267
- - Android apps using `@cloudflare/realtimekit-react-native` need a `blob_provider_authority` string resource
268
- - current host-app smoke builds succeeded on both iOS simulator and Android debug
269
-
270
- ```xml
271
- <string name="blob_provider_authority">${applicationId}.blobs</string>
272
- ```
273
-
274
- For setup details and provider tradeoffs, see the room media docs:
275
-
276
- - [Room Media Overview](https://edgebase.fun/docs/room/media)
277
- - [Room Media Setup](https://edgebase.fun/docs/room/media-setup)
278
-
279
228
  ## Platform Differences vs `@edge-base/web`
280
229
 
281
230
  | Feature | Web | React Native |