My app communicates with an external accessory, however seems there is a bug that when the ios device comes back from sleep sometimes the EAAccessoryManager list is empty. The app is already in the field and I need a fix as currently the users have to turn the external accessory off and on for it to work again.
I am thinking of preventing the iOS device from going to sleep. However I do not want the LCD screen to be on always as that will drain the battery. I also want the lock screen to activate for security purposes. What are my options?
Btw the EAAccessoryManager list is usually empty after the device awakes and the user has to enter an unlock code. Seems if I use the fingerprint it is fine, so believe it is a bug in iOS 10.3.3? Any one else encounter this?