Disconnect from BT Device on Terminating App
So i’m trying to disconnect from a Bluetooth device upon terminating the app. I have tried using the AppDelegate functions and even subscribing to the NotificiationCeneter with an onReceive method for the willTerminate message, in both instances they fire off and I can see that they’re at the very least being called which is where I have my device.cancelPeripheral… function and whatever is in the functions are attempting to fire. When i go to my Settings, however, I see that my device is still connected.