Describe the bug
When using LiveKitRoom in React Native and passing connectOptions={{ rtcConfig: { iceTransportPolicy: 'relay' } }}, the iOS app still prompts the user for Local Network Access. This happens even though relay-only should avoid usage of local (host) or reflexive candidates.
To Reproduce
- Wrap LiveKitRoom with props including:
connectOptions={{
rtcConfig: { iceTransportPolicy: 'relay' }
}}
-
Launch TestFlight build on a real iOS device
-
Observe the “Would Like to Find and Connect to Devices on Your Local Network” prompt
-
reject the prompt and connection fails
Expected behavior
The prompt should not appear, because relay-only mode should avoid any local network candidate usage.
If the OS still requires the permission (because of internal probing), the SDK should provide a clear fallback or error message explaining why the prompt is needed.