Post

Replies

Boosts

Views

Activity

NSNetServiceBrowser error if permission is not granted
If an app is a client of NSNetServiceBrowser, and attempts to search for services while the local network access permission is not granted for that app, will there be a specific error or notification? Will the app be able to determine the reason why no services were found? Or will this case be undistinguishable, from the app's point of view, from the case where the permission is granted but no services were found on the network?
5
0
1.9k
Aug ’20
Attempting to multicast without multicast entitlement
From this - https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_networking_multicast, we understand that if an app implements some form of local network multicast/broadcast, it must have the com.apple.developer.networking.multicast entitlement. But what will happen if the app doesn't have the entitlement? E.g. because the multicast is implemented by a third-party SDK and the app developer is not aware of the entitlement requirements introduced by that dependency? Will this be detected at build time, or during app review, or will multicast just not work at runtime? Or something else? We maintain an SDK which does local network multicast, and wish to understand the implications for our client apps.
1
0
535
Aug ’20