Open oldstone88 opened 1 week ago
Hello Sergey,
Thanks for filling this issue. This package is mostly tested on Android and Windows devices, so I am currently not aware of that bug for iPhone. I knew that recent version of iOS was restricting access to multicast sockets, but I didn't research further.
I am gonna look for a potential fix in Apple documentation and will certaily update the package documentation with necessary entries in the Info.plist file.
Could you please provide me with the iPhone and iOS version this bug is currently affecting.
From what I have find so far, iOS 14+ applications need the com.apple.developer.networking.multicast
entitlement to send or receive IP multicast traffic.
Here are some articles: https://stackoverflow.com/questions/78127374/send-udp-socket-multicast-address-in-network-framework-ios-17-version https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_networking_multicast
Could you try those and tell me if this is working in your case ?
Is there an existing issue that is already proposing this?
Is your feature request related to a problem? Please describe it
UPnP search works in the iOS simulator, but it doesn't work on a real iPhone. I tried to enable all permissions, but it still didn't help. My info.Plist `<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
`
Describe the solution you'd like
A real iPhone will search for UPnP devices.
Teachability, documentation, adoption, migration strategy
It is desirable to have a full example of settings for iOS (Info.plist, Podfile) and Android (AndroidManifest.xml).
What is the motivation / use case for changing the behavior?
Faster and more understandable work with the plugin