Hi eskimo, thanks for looking at this. I've also been having this crash for a year now.
I've tested multiple things but as soon as I use registerForLocalNotifications, even if I don't subscribe to EAAccessoryDidConnect when my bluetooth accessory get disconnected when the app is running i'm getting this crash 80% of the time.
I've attached a crash report, i've just redacted the bundle and app name.
crasahreport.txt
Post
Replies
Boosts
Views
Activity
I don't know why i didn't initially thought of sending a bug report ..
Here's the bug number FB12831700
To clarify, that is exactly right.
However i should specify that the apps while connected to the accessory is not listening for local notifications the whole time.
For a specific flow we start the local notification registration, and then stop it when its done.
During a normal use of the app (thus not in the specific flow) we are not seeing this crash.
Following on that, I too am interested in using the new Framework for my UI.
I'm currently using an MFi EAAccessoryBrowser setup, is there no way to use the ExternalAccessory framework with AccessorySetupKit in a "streamlined" way ?