I am using Flutter in my application, but it is not clear which API is
being utilized.
Just to set expectations, I can only help you with Apple APIs. If you need help translating that into your third-party environment, I recommend that you raise that via its support channel.
I am receiving the following errors
From which specific call?
I am sending and receiving data
You are clearly sending multicasts. Are the responses multicast? Or unicast?
The exception occurred during the initial flow, when searching for a
TV.
That’s not where I was going with this. Rather, I was suggesting that you use an RVI packet trace to see if what happening from the network’s perspective. See Recording a Packet Trace.
In your original post you wrote:
My app have networking.multicast
property in Info.plist
Is that a Flutter thing? Because it doesn’t correspond to anything on the Apple side. Moreover, it ties in with this:
including i got apple permission to multicast
That “permission” comes in terms of an entitlement. I’ve seen folks mistakenly try to include entitlements in their Info.plist
, which isn’t effective. Are you sure that your app is signed with the multicast entitlement?
To test this:
-
Build your app for the device.
-
Choose Product > Show Build Folder in Finder.
-
Navigate to Products > Debug-iphoneos.
-
Find your app and run this Terminal command against it:
% codesign -d --entitlements - /path/to/your.app
Does it show the com.apple.developer.networking.multicast
entitlement?
Oh, and btw, read this: Local Network Privacy FAQ.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"