← All posts

APP UPDATES & COMPATIBILITY

Android 17 Local Network Permission (API 37): Complete Developer Guide to ACCESS_LOCAL_NETWORK, Device Pickers & Google Play Compliance

Last reviewed against Android Developers and Google Play Console Help documentation on 14 November 2026.

For most of Android's history, an app holding INTERNET could talk to anything on the local network. It could send an mDNS query, listen for SSDP broadcasts, open a socket to a smart bulb, or resolve a .local hostname.

That convenience had a cost. The set of reachable devices helps fingerprint a user, and a home network is a decent proxy for location. Android 17 (API level 37) gates LAN access behind a new runtime permission, ACCESS_LOCAL_NETWORK, and Google Play is adding a declaration requirement on top.

Quick answer

  • Android 17 is API level 37. LAN access is blocked by default only for apps that target API 37 or higher. Apps targeting 36 or lower keep the old behaviour through an implicit grant tied to INTERNET.
  • The permission is enforced in the networking stack. Raw sockets, TCP, UDP, multicast, mDNS, SSDP, OkHttp, Cronet and WebView traffic are all covered.
  • Two paths exist: a system-mediated picker (NsdManager or the Cast Output Switcher), or the broad runtime permission for core functionality a picker cannot serve.
  • Do not add the permission when targeting 36 or lower. The grant is implicit at that level, and Google says not to declare or request it.
  • Play's declaration requirement takes effect on 25 August 2027. The policy was announced on 29 October 2026; the October 2026 policy roundup covers the full set of changes.

What the permission actually is

ACCESS_LOCAL_NETWORK gates traffic to local addresses. Google's documentation lists outgoing and incoming TCP connections, UDP unicast, multicast and broadcast in both directions, and framework APIs such as NsdManager. Because the check sits deep in the networking stack, libraries built on sockets inherit it.

It does not affect internet access: private ranges, link-local addresses, multicast groups and .local names are gated. It is a runtime permission, so the manifest entry is only the first step and the user can revoke it later. And it is a target-level behaviour, not a device-wide switch: a phone running Android 17 does not break apps that still target API 36.

It belongs to NEARBY_DEVICES: if the user already granted a Bluetooth permission in that group, the local network permission is presented as already allowed.

Diagram of an app's networking APIs passing through the ACCESS_LOCAL_NETWORK permission gate before reaching local devices, while internet traffic bypasses the gate

Figure 1 — One gate covers every networking surface. Original illustration for 12 Testers Community.

Android 16 versus Android 17

Android 16 shipped an opt-in preview: enable the RESTRICT_LOCAL_NETWORK compat flag with adb, reboot, and grant NEARBY_WIFI_DEVICES to restore access. Android 17 replaces that experiment with an enforced runtime permission.

FeatureAndroid 16Android 17
Target SDK3637 or higher
PermissionNEARBY_WIFI_DEVICES, temporarilyACCESS_LOCAL_NETWORK
Default accessOpen; restrictions only by opt-inBlocked by default for apps targeting 37+
EnforcementDeveloper opt-in and rebootMandatory; no opt-in or opt-out
Runtime behaviourSocket errors while the flag is enabledSystem prompt; traffic blocked until granted
MigrationTesting only; guidance now deprecatedPermission or picker before raising the target level

New and updated apps targeting 37+ are blocked by default. Legacy apps targeting 36 or lower receive an implicit grant while they hold INTERNET, and lose it when they finally raise the target level.

Comparison of the Android 16 opt-in local network preview with the enforced ACCESS_LOCAL_NETWORK runtime permission in Android 17

Figure 2 — A developer experiment replaced by a platform rule. Original illustration for 12 Testers Community.

Which applications are affected

Any feature that treats the LAN as a data source is in scope.

  • Smart home and IoT controllers that discover bulbs, plugs, cameras or hubs over mDNS, SSDP or vendor protocols and then connect directly.
  • Local multiplayer games that host or join a session on the same Wi-Fi.
  • File-sharing and media-server clients that browse SMB, DLNA or local HTTP endpoints.
  • Discovery and network tools that scan subnets, resolve hostnames or report online devices.
  • Casting apps that locate receivers before handing playback to them.
  • Local server apps that accept inbound connections from another device.
  • Browsers and WebView pages that load local addresses; WebView inherits the host app's permission state.

Casting is a special case. Google says many casting scenarios depend on LAN access and will be affected, while not every casting app needs the new permission. The Output Switcher is the documented route, but it is not a blanket exemption for custom discovery stacks.

The permission architecture

Four parts, each of which must work.

Manifest. Declare the permission only when targeting API 37 or higher.

<uses-permission android:name="android.permission.ACCESS_LOCAL_NETWORK" />

Status check. Check at the moment of use, because the permission can be revoked between sessions.

private fun hasLocalNetworkAccess(): Boolean =
    ContextCompat.checkSelfPermission(
        this, Manifest.permission.ACCESS_LOCAL_NETWORK
    ) == PackageManager.PERMISSION_GRANTED

Runtime request. The standard Activity Result contract works. Google also documents a counter-reset strategy: a prior denial in the NEARBY_DEVICES group no longer permanently blocks the prompt.

private val launcher = registerForActivityResult(
    ActivityResultContracts.RequestPermission()
) { granted -> if (granted) startDiscovery() else showRationale() }

fun requestLocalNetworkAccess() {
    if (hasLocalNetworkAccess()) return startDiscovery()
    launcher.launch(Manifest.permission.ACCESS_LOCAL_NETWORK)
}

Denial and revocation. Blocked TCP connections usually time out rather than fail fast, while UDP operations typically return EPERM. That asymmetry matters for timeouts and retries.

Play's User Data policy requires apps to respect a declined restricted permission and to accommodate users who do not grant it. Manual address entry, a picker, or a read-only mode are all reasonable fallbacks.

StepActionIf skipped
1Explain the feature before the promptUsers deny a request they do not understand
2Check checkSelfPermissionBlocked sockets and misleading errors
3Request the runtime permissionLocal traffic stays blocked
4Handle denial with a fallbackDead-end UI; policy risk
5Re-check after resumeStale state after revocation
Layered architecture diagram showing app code, framework libraries and the Android network stack, where the local network permission check decides whether a socket reaches the LAN

Figure 3 — The check sits below your code, so changing libraries does not avoid it. Original illustration for 12 Testers Community.

Understanding local network traffic

TCP. Both directions are gated: an outgoing connection to a printer and an inbound connection accepted by a local server. A blocked connection typically appears as a timeout, not an offline device.

UDP. Unicast, multicast and broadcast all need the permission in both directions. Discovery traffic to 255.255.255.255 or a multicast group fails with EPERM when access is denied. A multicast lock does not substitute for the grant.

mDNS and DNS-SD. Resolving .local names requires the permission, and framework discovery through NsdManager is covered too. That is why the picker exists.

SSDP. M-SEARCH datagrams go to multicast and responses come back by unicast, so broad SSDP scanning is firmly inside the restriction. There is no general SSDP picker, which makes UPnP-heavy apps realistic candidates for broad access.

Local DNS. Google documents one exception: traffic to a DNS server on the local network, on port 53, does not require the permission. Name resolution keeps working, but the hosts those names point to are still gated.

Protocol or APITypical useNeeds permissionPicker alternative
TCP to a private addressDevice control, file transfer, local APIsYes, both directionsOnly for picker-selected addresses
UDP unicastControl, discovery repliesYesPicker-scoped exception
UDP multicast or broadcastSSDP, custom discoveryYesNo general picker
mDNS / DNS-SD.local names, service discoveryYes for raw socketsNsdManager with FLAG_SHOW_PICKER
HTTP client on LANOkHttp, Cronet, Dart socketsYes; libraries inherit itOnly picker-selected addresses
WebViewLocal dashboards, router pagesInherits the host app's grantNo separate exemption
DNS to a local resolver, port 53Name resolutionNoNot applicable
Four protocol panels for TCP, UDP, mDNS and SSDP showing which local network operations require ACCESS_LOCAL_NETWORK and which have a picker alternative

Figure 4 — The permission is protocol-agnostic; the picker is not. Original illustration for 12 Testers Community.

Privacy-preserving device pickers

A picker lets the system show the discovered services and returns only the user's choice. The app never sees the rest of the LAN. For controlling a device the user owns, the narrow grant is usually enough. For listing, monitoring or comparing devices, it is not.

Two discovery models compared: broad discovery returning every LAN service with the permission, and FLAG_SHOW_PICKER returning one user-selected service without it

Figure 5 — Visibility, not convenience, separates the two models. Original illustration for 12 Testers Community.

NsdManager and FLAG_SHOW_PICKER

NsdManager is Android's DNS-SD client. Historically an app called discoverServices(), received every matching service and resolved addresses itself — a model that sees the whole network.

DiscoveryRequest added flags that change this. FLAG_SHOW_PICKER requires the system picker and returns only the selected service; FLAG_NO_PICKER never shows it; FLAG_USER_APPROVED_ONLY returns services the user already approved without UI. registerServiceInfoCallback() combines discovery and resolution and keeps properties up to date. It is available from SDK extension 22 (Android 14+); older devices need the legacy discovery and resolve calls.

suspend fun findService(serviceType: String): NsdServiceInfo? =
    suspendCancellableCoroutine { cont ->
        val request = DiscoveryRequest.Builder(serviceType)
            .setFlags(DiscoveryRequest.FLAG_SHOW_PICKER)
            .build()

        val callback = object : NsdManager.ServiceInfoCallback {
            override fun onServiceUpdated(serviceInfo: NsdServiceInfo) {
                if (cont.isActive) cont.resume(serviceInfo) // selected service only
            }
            override fun onServiceInfoCallbackRegistrationFailed(errorCode: Int) {
                if (cont.isActive) cont.resumeWithException(DiscoveryException(errorCode))
            }
            override fun onServiceInfoCallbackUnregistered() {
                if (cont.isActive) cont.resume(null) // picker dismissed
            }
        }

        nsdManager.registerServiceInfoCallback(request, Runnable::run, callback)
        cont.invokeOnCancellation { nsdManager.unregisterServiceInfoCallback(callback) }
    }

Connect to an address from serviceInfo.hostAddresses on serviceInfo.network; those connections need no broad permission, and the grant survives reboots. Do not store the IP address because it can change. Re-register the callback after a network change so the grant is applied to the fresh address, and use checkPermissionForService() to confirm access to a previously selected service.

Five-step NsdManager workflow from a DiscoveryRequest with FLAG_SHOW_PICKER through the system picker to connecting with the selected service address

Figure 6 — The picker path returns one service and a grant that follows it. Original illustration for 12 Testers Community.

Google Cast and the Output Switcher

The Output Switcher is the Cast SDK's system-mediated route for moving playback between the phone speaker, Bluetooth devices and Cast receivers. Google's local network documentation states that apps using the Output Switcher as their in-app picker will not need local network permission.

It does not exempt custom cast stacks. An app that runs its own discovery or opens its own socket to a receiver address still needs broad access. Google says many casting scenarios will be impacted and that further APIs are coming.

Google Cast Output Switcher architecture where the system discovers receivers through MediaRouter, with a counter-example showing custom discovery requiring ACCESS_LOCAL_NETWORK

Figure 7 — Who discovers the receiver decides the permission. Original illustration for 12 Testers Community.

When broad access is justified

The policy language is narrow: the permission must be necessary for core functionality, and device pickers must be insufficient.

Justified cases include home automation that keeps persistent connections to many devices, IoT commissioning that scans for unprovisioned hardware, diagnostics tools whose product is network visibility, and peer-to-peer apps where either side may initiate. In each case, the feature depends on seeing more than one selected device.

Weak cases are equally recognisable: a novelty ping to a TV, LAN scanning for analytics, or custom casting discovery that could use the Output Switcher.

Use caseRecommended approachPermission consideration
Control one user-chosen smart deviceNsdManager pickerNo broad permission
Live dashboard of every LAN deviceBroad permissionPicker cannot provide the core view
Provision unnamed IoT hardwareBroad permissionUnknown-device discovery is core
Cast video to a TVOutput SwitcherUsually no broad permission; verify discovery
Local multiplayerJoin code or picker firstDepends on whether listing sessions is core
Network scannerBroad permissionVisibility is the product
File transfer to a chosen devicePicker where discoverableGrant covers only that address
Accessory companion appBluetooth or vendor SDK firstDo not use LAN as a Bluetooth shortcut
DimensionSystem pickerBroad permission
VisibilityOne user-selected serviceAll reachable local hosts
User actionChooses a device in system UIAccepts a runtime prompt
PersistenceGrant persists across rebootsGrant persists until revoked
Play declarationNot requiredRequired for API 37+
FitsSingle-device control, castingMonitoring, commissioning, scanning

Google Play declaration guide

Android's runtime permission and Play's declaration are separate gates. The platform checks whether the user granted access; Play reviews whether the app may ask at all.

The policy takes effect on 25 August 2027. The 29 October 2026 announcement sets a 30-day notice period, but the Policy Deadlines page sets this policy's compliance date at 25 August 2027. The later date governs releases. For the declaration mechanics themselves, see the restricted-permission declaration guide.

Scope. Apps targeting API 37+ that request ACCESS_LOCAL_NETWORK. Apps targeting 36 or lower are outside the requirement because they are not permitted to request the permission for this purpose.

Core functionality. Play allows a restricted permission only when it implements a current feature promoted in the listing. Roadmap features and capabilities users would not recognise do not qualify. Local network data is also personal and sensitive user data, so the User Data policy applies.

Pickers. The declaration must explain the specific capability a picker cannot provide, not merely that broad access was easier to build.

ElementWhat reviewers need
FeatureThe exact flow that depends on LAN access, in plain language
Core linkHow the feature is promoted and why the app is limited without it
Picker analysisWhich picker was evaluated and what it cannot do
Data handlingWhat is observed, whether it leaves the device, retention, disclosure
User controlPre-prompt disclosure, graceful denial, route to revoke
EvidenceBuild notes, screenshots or a demo path a reviewer can follow

Write the listing first: if the store description never mentions the LAN feature, a declaration claiming it is core will not read as consistent. The privacy policy must disclose local network data and discovery identifiers where collected.

Illustrative justification — not an approval template.

Feature: Dashboard and automation for the user's own smart-home hub and accessories.

Why LAN access is core: The main screen lists every hub, sensor and plug on the home network and keeps live control connections open. Without LAN visibility the advertised product cannot function.

Why the picker is insufficient: The NsdManager picker returns one selected service. The dashboard must discover every device, show offline state and group devices by room.

Data handling: Discovery results stay on-device, are used only for the dashboard, and are not sold or shared. Users can clear saved devices.

User control: A pre-prompt explains the purpose, denial leaves manual setup available, and revocation degrades the app to manual control.

Check policy status before submitting. Play Console surfaces declaration requirements per app, and a release can be blocked while an unresolved alert exists even when the build is valid.

Timeline from the October 2026 policy announcement to the August 2027 compliance date with a pre-release checklist and the difference between platform and Play gates

Figure 8 — The code change and the policy deadline are separate dates. Original illustration for 12 Testers Community.

Kotlin implementation tutorial

Use an Android Studio release that supports API 37 and set compileSdk = 37; the permission constant does not exist on older compile SDKs. Raise targetSdk only when the change is handled.

android {
    compileSdk = 37
    defaultConfig { targetSdk = 37; minSdk = 24 }
}

Keep the launcher as an activity property: it must be registered before the activity is created. Wrap check, request and denial in one class.

class LocalNetworkGate(private val activity: ComponentActivity) {
    private var onResult: ((Boolean) -> Unit)? = null

    private val launcher = activity.registerForActivityResult(
        ActivityResultContracts.RequestPermission()
    ) { granted -> onResult?.invoke(granted) }

    fun ensureAccess(callback: (Boolean) -> Unit) {
        if (ContextCompat.checkSelfPermission(
                activity, Manifest.permission.ACCESS_LOCAL_NETWORK
            ) == PackageManager.PERMISSION_GRANTED
        ) return callback(true)
        onResult = callback
        launcher.launch(Manifest.permission.ACCESS_LOCAL_NETWORK)
    }
}

Connect only after access is granted. Requesting permission after opening the socket is too late: the blocked attempt has already failed.

gate.ensureAccess { granted ->
    if (!granted) return@ensureAccess showMessage("Enable local network access to find devices.")
    lifecycleScope.launch {
        val host = findService("_http._tcp")?.hostAddresses?.firstOrNull()?.hostAddress
            ?: return@launch showMessage("No device selected.")
        withContext(Dispatchers.IO) {
            URL("http://$host:8080/status").openConnection().getInputStream().use { it.readBytes() }
        }
    }
}

On resume, re-check the grant. Cancel discovery callbacks in onStop and register once in onStart; a picker left registered across a configuration change produces duplicate results.

Kotlin state diagram for ACCESS_LOCAL_NETWORK covering check, explain, request, granted, denied, fallback and revocation paths

Figure 9 — Every denial path ends somewhere the user can act. Original illustration for 12 Testers Community.

Flutter integration

Flutter does not bypass the restriction: Dart's HttpClient and package:http use the same native sockets, so private-address requests are blocked without the permission. Dart cannot request Android permissions directly, so a platform channel is required. Flutter ships no official plugin for this permission.

Android side. Register a channel in MainActivity and keep the launcher there.

class MainActivity : FlutterActivity() {
    private var pending: MethodChannel.Result? = null
    private val launcher = registerForActivityResult(
        ActivityResultContracts.RequestPermission()
    ) { granted -> pending?.success(granted); pending = null }

    override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
        super.configureFlutterEngine(flutterEngine)
        MethodChannel(flutterEngine.dartExecutor.binaryMessenger, "app/local_network")
            .setMethodCallHandler { call, result ->
                when (call.method) {
                    "check" -> result.success(ContextCompat.checkSelfPermission(
                        this, Manifest.permission.ACCESS_LOCAL_NETWORK
                    ) == PackageManager.PERMISSION_GRANTED)
                    "request" -> { pending = result
                        launcher.launch(Manifest.permission.ACCESS_LOCAL_NETWORK) }
                    else -> result.notImplemented()
                }
            }
    }
}

Dart side. Treat the channel as an async capability check, not onboarding.

const _channel = MethodChannel('app/local_network');

Future<bool> ensureLocalNetwork() async {
  if (await _channel.invokeMethod<bool>('check') ?? false) return true;
  try {
    return await _channel.invokeMethod<bool>('request') ?? false;
  } on PlatformException {
    return false;
  }
}

Two traps. Internet HTTP still works when the permission is denied, so the app can look healthy while LAN features silently fail; surface the state. And picker results arrive on the Android side, so bridge the selected host, port and service name to Dart as data rather than a success flag.

Flutter MethodChannel architecture showing Dart calling Kotlin to request the Android local network permission and receiving the result

Figure 10 — Dart asks; Android grants. Original illustration for 12 Testers Community.

ConcernKotlin appFlutter app
Permission requestActivity Result API directlyMethodChannel to the host activity
ManifestAndroidManifest.xmlandroid/app/src/main/AndroidManifest.xml
Target SDKbuild.gradleAndroid module build.gradle.kts
Lan socketsOkHttp, sockets, NsdManagerDart sockets plus native channel
Denial UXActivity or Compose screenDart UI driven by the channel result
Picker resultsCallback in KotlinCallback bridged to Dart as data

Security and privacy best practices

Ask late and narrowly. Request at the moment the LAN feature starts, after explaining why.

Minimise discovery data. Service names, hostnames and TXT records can be sensitive. Keep what the feature needs, and do not upload LAN inventories to analytics.

Secure the connection. Local does not mean trusted: use TLS where supported, pin vendor certificates, and never assume a device on the Wi-Fi is the one the user expects.

Avoid scanning for its own sake. Subnet sweeps and port scans are hard to justify as core functionality; if the product needs them, document the purpose.

Log responsibly. Strip IP addresses, device names and discovery payloads from release logs, and disclose local network data even when it stays on the device.

Device compatibility and testing

No emulator replaces physical network testing. The prompt can be exercised in an emulator, but discovery depends on a real access point, real multicast behaviour and real devices responding. The same logic applies to building a device matrix.

ScenarioExpected resultVerification
Android 17, targets API 36LAN works through the implicit grantConnect to a known local device
Targets API 37, permission grantedDiscovery and connections succeedPicker and direct TCP test
Targets API 37, permission deniedTCP times out; UDP returns EPERMDeny, retry both protocols
Permission revoked while runningNext operation fails; re-check on resumeRevoke in Settings, return to app
Picker selectionOnly the selected service is returnedRun picker against two devices
Picker dismissedUnregistered callback; no crashDismiss the system dialog
.local resolutionBlocked without permission; allowed with itResolve a known name
SSDP discoveryBlocked without permission; works when grantedSend M-SEARCH, watch replies
Wi-Fi to mobile dataLAN features stop; callbacks re-register on Wi-FiToggle radios during discovery
Guest network or AP isolationNo devices found even with permissionTest on an isolated SSID
Multiple access pointsInconsistent discovery, no crashMove between APs
Background and foregroundNo duplicate callbacksBackground during discovery

Include a low-end device and two manufacturers. Multicast behaviour, battery savers and vendor network stacks vary enough that one flagship result proves little. Pre-launch reports catch crashes, but they do not test your LAN.

Common errors and troubleshooting

SymptomLikely causeVerified fix
Device never appearsPermission denied, or AP isolationCheck the grant, then test on an open network
Prompt never appearsTarget below 37, or permission not declaredRaise the target only when intended; declare it
TCP hangsTraffic blocked by the permissionTreat as a permission failure; verify the grant
UDP fails with EPERMLocal access deniedGrant access or use the picker
mDNS returns nothingRaw multicast blockedUse the NsdManager picker
.local failsLocal name resolution is gatedGrant access or resolve through NsdManager
Nsd callback silentUnregistered early or picker dismissedKeep it alive until a result
Duplicate resultsCallback registered twiceUnregister in onStop
Picker unavailableSDK extension too oldFall back to legacy discovery
Flutter LAN fails, internet worksNative permission missingBridge check and request
Release blockedRestricted permission without declarationComplete the declaration

When a failure is a real defect rather than a permission state, the bug report template keeps the network conditions with the report.

Production migration checklist

AreaAction
Target SDKRecord the current level and schedule API 37
LAN auditFind raw sockets, mDNS, SSDP and discovery SDKs
Third-party librariesCheck casting, IoT and networking dependencies
Feature impactList what breaks when the LAN is blocked
Picker fitMove single-device flows to NsdManager or Output Switcher
ManifestAdd the permission only to API 37 builds
Runtime handlingImplement check, request, denial and revocation
Play declarationComplete it and align the listing and privacy policy
Physical testingTest granted, denied, revoked, guest and multi-AP cases
ReleaseResolve policy alerts before staged rollout

Frequently asked questions

1. What is ACCESS_LOCAL_NETWORK? A runtime permission introduced with Android 17 that gates traffic to local network devices.

2. Which version introduces it? Android 17, API level 37.

3. Does INTERNET still provide LAN access? Only for apps targeting API 36 or lower, through a temporary implicit grant.

4. Is the LAN blocked by default on Android 17? For apps targeting API 37 or higher, yes.

5. Does this affect apps targeting API 36? Not yet; the grant ends when the target level rises.

6. What is NsdManager? Android's DNS-SD client for discovering and resolving mDNS services.

7. What is FLAG_SHOW_PICKER? A DiscoveryRequest flag that shows the system picker and returns only the selected service.

8. Can Google Cast avoid the broad permission? Apps using the Output Switcher as their in-app picker are documented as not needing it; custom discovery is not covered.

9. Do Flutter apps need native Kotlin? For this permission, yes; Dart cannot call the runtime-permission API directly.

10. What happens on denial? TCP typically times out and UDP typically returns EPERM; the app must degrade gracefully.

11. What happens on revocation? The next local operation fails the same way; re-check on resume.

12. Does OkHttp need the permission for LAN requests? Yes; the restriction is below the library layer.

13. Does mDNS need it? Yes for raw multicast sockets; the NsdManager picker is the supported alternative.

14. Is SSDP affected? Yes; it uses multicast plus inbound unicast.

15. When is the Play declaration required? For apps targeting API 37+ that request the permission, from 25 August 2027.

16. Does every Wi-Fi app need the permission? No; internet-only apps and picker-based flows do not need broad LAN access.

Academic research and further reading

The permission is too new for peer-reviewed study; Android 17 shipped after the work below. None of these papers evaluates ACCESS_LOCAL_NETWORK.

  • Fine, Z. and Hirschprung, R. (2026). Mapping Privacy Vulnerabilities in Local Area Network (LAN) Environments. Sensors. DOI: 10.3390/s26030763. A meta-analysis and interviews identifying 18 LAN privacy vulnerabilities, assessed with FMEA across 13 real networks; more than half were high risk.
  • Liu, K. et al. (2019). Security Analysis of Mobile Device-to-Device Network Applications. IEEE Internet of Things Journal. DOI: 10.1109/jiot.2018.2877174. Examines security in apps that talk directly to nearby devices.
  • Monaco, J. V. (2022). Device Fingerprinting with Peripheral Timestamps. IEEE Symposium on Security and Privacy. DOI: 10.1109/sp46214.2022.9833612. Shows that peripheral timing can fingerprint a device.
  • Wang, J. and Poet, R. (2020). Permission Management and User Privacy Based On Android. ACM SIN. DOI: 10.1145/3433174.3433610. Reviews Android permissions as a privacy control.
  • Stolikj, M. et al. (2016). Context based service discovery in unmanaged networks using mDNS/DNS-SD. IEEE ICCE. DOI: 10.1109/icce.2016.7430565. Explains why mDNS/DNS-SD dominates consumer device discovery.
  • Gashi, E. (2018). Permission-based Privacy Analysis for Android Applications. Master of Science thesis, University for Business and Technology. DOI: 10.33107/ubt-etd.2018.2. A verified master's thesis linking permission counts to privacy risk; it predates the LAN permission.

Master's theses. One verified MS thesis on Android permission privacy is listed. No thesis specifically studying ACCESS_LOCAL_NETWORK was found, which is expected for a permission introduced with Android 17.

Official sources. Android Developers: Local network permission, Android 17 behaviour changes, NsdManager and DiscoveryRequest references, Android 17 release notes. Google Play Console Help: policy announcement of 29 October 2026, Policy Deadlines, Permissions and APIs that Access Sensitive Information. Google Cast: Output Switcher documentation.

Conclusion

Android 17 turns the local network into a permissioned resource. The scope is narrow — apps targeting API 37 or higher — but the effect is deep, because every socket, library and WebView that reaches a LAN address is covered. Teams that raise their target level without an audit will see discovery fail in ways that look like network problems.

The order is clear: audit traffic, move picker-compatible flows onto NsdManager or the Output Switcher, keep broad access only where needed, declare accurately, align the listing and privacy policy, and test denial and revocation on physical hardware.

Action plan. Inventory LAN traffic, prototype the picker for one flow, implement permission handling and denial UX, then complete the declaration and confirm the app still makes sense when the user says no.

Ready for your 12 testers?

Stop reading — start testing. Real people on real devices, 14 days, zero chasing.

WhatsApp