HMHome addAndSetupAccessoriesWithCompletionHandler Fails To Call Completion Handler
Originator: | RBruchal | ||
Number: | rdar://43352147 | Date Originated: | 8/15/18 |
Status: | Open | Resolved: | |
Product: | HomeKit | Product Version: | |
Classification: | Reproducible: | Yes |
If the underlying HMHome is deleted while the UI provided by addAndSetupAccessoriesWithCompletionHandler is displaying, the add will fail, but the completion handler is never called Steps to Reproduce: 1. In a HomeKit app, with an existing HMHome home, call addAndSetupAccessoriesWithCompletionHandler 2. The UI displays 3. Switch out of the app and delete the home via the built-in Home app 4. Return to the HomeKit app 5. Attempt to add an accessory via scanning or entering the accessory's setup code Expected Results: 1. The UI reports an error 2. The user taps "Dismiss" 3. The completion handler is called with an appropriate NSError Actual Results: 1. The UI reports an error 2. The user taps "Dismiss" 3. The completion handler is not called
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!