Post

Replies

Boosts

Views

Activity

Reply to MultipeerConnectivityFramework not working due to new privacy setting
Matt This new privacy setting is really creating major headaches. First the Bonjour services in the info.plist is not very well documented. I think I figured it out by setting "{service}.tcp where {service} must match the serviceType in MCNearbyServiceAdvertiser(peer: , discoveryInfo: , serviceType: ). It seems to be working for me. browser(_ browser: MCNearbyServiceBrowser, didNotStartBrowsingForPeers error: Error) is called when the Bonjour service is not properly set, however it does not seem to be called when the local network access is denied. Actually I could not find any method called when access is denied. Is there one? Then the localization of the NSLocalNetworkUsageDescription does not seem to work. The user only gets what's setup in the info.plist, or the default Apple message when nothing is setup. Finally on the simulator the local network access permission does not seem to be implemented at all. It works as it used with iOS13 making the testing process more difficult. The most important issue is to at least be able to know when the permission is denied otherwise we are completely blind. Very hard to design a great user experience. Hope someone has figured out some of these issues. Thanks
Oct ’20