Post

Replies

Boosts

Views

Activity

Reply to UDP connection working smoothly on iOS 14.0.1 in debug
Same problem with NWConnection. I also tried to enable Network Extension capability but not same stuff. I added in the info.plist both NSBonjourServices and NSLocalNetworkUsageDescription. I don't know how to show the prompt to let the user accept Privacy Local Network and Settings>Privacy>Local Network doesn't show my app. I urgently need to fix that because customers are not able to connect their devices
Oct ’20
Reply to UDP connection working smoothly on iOS 14.0.1 in debug
I tried with NEHotspotConfiguration and NEHotspotConfigurationManager but same behaviour, even if I don't think I need them. Also tried to send command with NWConnection let connection = NWConnection.init(host: "255.255.255.255", port: 12345, using: .udp) let data = Data.init() connection.send(content: data, completion: .contentProcessed({ (error) in              print("Error: \(error?.localizedDescription)") })) but no prompt will be shown. Just to describe better what I need to solve: I connect my iPhone to radiator WiFi module and start receiving message from it. When I receive the first "message" I'm able to get ip and port. Once I got ip and port, I can send a command to ask the radiator for networks list he sees around him. Then from the app I can select the network and send the password to radiator. After that the communication continue via REST API. Can you explain me better how I can achieve that? Thank you in advance
Oct ’20
Reply to UDP Listener on iOS 14
Hi, all same problem for me and I wasn't able to solve populating info.plist. Just to describe better what I need to solve: I connect my iPhone to a device WiFi module and start receiving message from it. When I receive the first "message" I was able to get ip and port through an UDP connection. Once I got ip and port, I can send a command to ask the device for networks list he sees around him. Then from the app I can select the network and send the password to device. I'm using a library BlueSocket - https://github.com/Kitura/BlueSocket but I also tried with NWListener and NWConnection. It just works sometimes in debug mode but not in production. I also tried to apply to com.apple.developer.networking.multicast but they reply me that I don't need that.
Oct ’20
Reply to UDP Listener on iOS 14
Hi @eskimo, I just need help to solve the problem. My users are not able to use the app anymore after updating to iOS 14. This is Apple reply for the entitlement: Thank you for your interest in Multicast Networking. It sounds like you’re using WebSockets to make a unicast UDP connection to your devices. If that’s the case, you shouldn’t need the entitlement, just add the usage description so your users know why you use their local network and you should be all set. See How to use multicast networking in your app for more details, and if you have questions or issues, please use the “Network” tag on the Apple Developer Forums. Do you have some update?
Oct ’20
Reply to UDP connection working smoothly on iOS 14.0.1 in debug
Hi @meaton, I just need help to solve the problem. My users are not able to use the app anymore after updating to iOS 14. This is Apple reply for the entitlement: Thank you for your interest in Multicast Networking. It sounds like you’re using WebSockets to make a unicast UDP connection to your devices. If that’s the case, you shouldn’t need the entitlement, just add the usage description so your users know why you use their local network and you should be all set. See How to use multicast networking in your app for more details, and if you have questions or issues, please use the “Network” tag on the Apple Developer Forums. I already tried everything you told me, do you have any advice?
Oct ’20