I have an application which runs as both peripheral and central implementing CoreBluetooth.I use State Preservation and restoration using the willRestoreState in the view controller where the central manager is instantiated.I added the “bluetooth-central key” in info.plist.
The scenario i am testing is the when the central side application is terminated by OS while an active connection is established,the connection should be reestablished and restore state is called.But nothing is happening in the app in background.Can anyone figure it out?