We currently have an app the supports MCNearbyServiceBrowser and after adding the plist entries for NSBonjourServices and NSLocalNetworkUsageDescription every thing seems to work as expected. Unless that is if the user declines permission (or approves permission initially then later revokes it). My issue is I am not seeing an error call back on MCNearbyServiceBrowser delegate method browser(_ browser: MCNearbyServiceBrowser, didNotStartBrowsingForPeers error: Error). I am missing something or do we have to use another browser instead of using MCNearbyServiceBrowser directly?
Post
Replies
Boosts
Views
Activity
Is there an API to check to see if the user has previously granted or more importantly declined network permission? I am not seeing anything in the resources of the video.