Skip to content

Document local network discovery permissions for iOS and Android#64

Draft
okdistribute wants to merge 1 commit into
rae/ios-iroh-ffi-setupfrom
rae/mdns-local-network-docs
Draft

Document local network discovery permissions for iOS and Android#64
okdistribute wants to merge 1 commit into
rae/ios-iroh-ffi-setupfrom
rae/mdns-local-network-docs

Conversation

@okdistribute

@okdistribute okdistribute commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Companion to n0-computer/iroh-ffi#240, stacked on #57 (retarget to main once that merges).

Device testing showed iroh's unicast traffic never engages the iOS local-network permission: direct connections held on both LAN and public addresses with no NSLocalNetworkUsageDescription key, even with the Local Network toggle off. The Swift guide now explains why no Info.plist keys are needed by default, and both the Swift and Kotlin guides document what changes once mDNS discovery (presetN0WithMdns) is adopted: the usage-description key plus the multicast entitlement on iOS, and CHANGE_WIFI_MULTICAST_STATE plus a WifiManager multicast lock on Android.

Device testing showed iroh's unicast traffic never engages the iOS
local-network permission, so the Swift guide explains that no
Info.plist keys are needed by default and what changes once mDNS
(presetN0WithMdns, iroh-ffi#240) is adopted: the usage-description
key plus the multicast entitlement on iOS, and the manifest
permission plus a WifiManager multicast lock on Android.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant