I working with an app have ability to connect to an peripheral device. When the device paired, it's stop broadcasting so I can not found it again by scanForPeripherals
until I go to setting on iphone and forgot that devices. This is so inconvenient to user. When they kill app, the connect is break and when they open app again, they can not connect to my peripheral device.
I already try use retrieveConnectedPeripherals
and retrievePeripherals
to get the peripheral back to connect but both thing seem to be notworking. Both method not return anything and Idk why.
Does anyone have same use case and know how fix this ?
Thanks so much!