Hello everyone,
I’m currently developing an iOS app and would like to leverage the AccessorySetupKit framework introduced in iOS 18 to implement pairing functionality with our company's custom hardware product. The specific requirements are as follows:
Our hardware supports both Bluetooth and Wi-Fi connections, and both are enabled.
When the hardware device is in proximity to an iPhone, I want the device to be automatically recognized, and a pairing screen similar to the one in AccessorySetupKit should appear.
Users should be able to perform the pairing process without needing to open our app, even if the app is not in the foreground. The system-level pairing screen should show the hardware information and allow the user to proceed with the pairing.
My questions are:
Does AccessorySetupKit allow the pairing screen to trigger when the app is running in the background, or must the app be in the foreground?
How should I configure AccessorySetupKit to automatically recognize and display my company’s hardware device information? Are there any specific configurations or code implementations needed?
Do I need to implement any specific Bluetooth/Wi-Fi advertising broadcasts to ensure the device is correctly detected by the iOS system when in proximity?
Are there any additional permissions or configurations required, especially for handling background tasks?
Thank you very much for your help, and I look forward to your advice and insights!