Post

Replies

Boosts

Views

Activity

Reply to Nearby Interaction Range
I didn’t see a maximum range but the online docs list: NI works best when the peer devices are:  Within nine meters of each other. In portrait orientation. Facing each other with their back camera.  NI detects a nearby peer device when it appears within NI’s line of sight https://developer.apple.com/documentation/nearbyinteraction/initiating_and_maintaining_a_session
Jun ’20
Reply to INSendMessageAttachment docs, sample code, or suggestions
In iOS/iPadOS 14 and watchOS 7, your user can send a brief audio clip through your SiriKit message app by invoking Siri with a "send audio with app" and then     @available(iOS 14.0, *)     optional func resolveOutgoingMessageType(for intent: INSendMessageIntent, with completion: @escaping (INOutgoingMessageTypeResolutionResult) -> Void) will be called. In that callback make sure to call         completion(.success(with: .outgoingMessageAudio)) or an appropriate response. Much thanks to the WWDC 2020 SiriKit lab engineers for literally answering this question in person, virtually
Jun ’20
Reply to Distance and Direction Vector Accuracy
It's probably best to test with some iPhone 11s and the sample app to ensure your use case is a good fit but the documentation states: NI works best when the peer devices are:  Within nine meters of each other. In portrait orientation. Facing each other with their back camera.  NI detects a nearby peer device when it appears within NI’s line of sight https://developer.apple.com/documentation/nearbyinteraction/initiating_and_maintaining_a_session
Jul ’20
Reply to How to fix "would like to find and connect to devices on your local network"
It's a new privacy feature of iOS 14 as described in the WWDC 2020 "Support local network privacy in your app" session: Apps now trigger a prompt the first time they try to interact with the local network. Until permission is granted all local network communication is blocked. The prompt includes a usage description that you specify in your app's info.plist. Apps that haven't updated to iOS 14 will show default reason text. If you notice a prompt that you don't expect for your app, you might be using a third party framework that accesses the local network. https://developer.apple.com/videos/play/wwdc2020/10110/
Jul ’20
Reply to iOS Beta Testing Support Email/Chat?
Hi and thanks for your future contributions. These forums are for app developers to ask programming questions and Apple engineers might not see your comments. For iOS as well as all of Apple's products and services, including any security or privacy issues that you find, it's best to let Apple know directly: https://www.apple.com/feedback/ If you want to ask questions from other users, it's best to post to the user forums: https://discussions.apple.com/welcome Other forums exist for the betas, and a quick internet search might provide better suggestions.
Jul ’20
Reply to How to prevent iPhone from switching to mobile?
iPhones sometimes switch from WiFi to Mobile and then the app communication is broken. Is there a solution for this? Can this been prevented? Not programmatically from an app running on an iPhone. If you are targeting the enterprise, you can explore MDM solutions to restrict communications but you will have surmount other hurdles... so a solution redesign is probably in order and you'll have to seriously consider abandoning your current architecture and implementation.
Aug ’20
Reply to How to prevent iPhone from switching to mobile?
Just as a follow up to my previous response... your tags list multiplier connectivity and the APIs in that framework were built prior to the Network.framework. While your app can't programmatically prevent the device from using cellular, the Network.framework does provide some flexibility to your app if you are able to redesign to restrict itself when it does not have the correct interface: https://developer.apple.com/documentation/network/nwparameters/2998704-prohibitedinterfaces prohibitedInterfaceTypes A list of interface types that connections, listeners, and browsers will not use. requiredInterfaceType An interface type to require on connections and listeners.
Aug ’20