After a very massive exploring of the area , where what we wanted is to have region monitoring+ exchanging data with bluetooth hardware , i really could not understand what is possible and whats not.
We manage to develop the hardware to be iBeacon+BLE
, but seems that the iOS
is the problem.
Using iBeacon, i know i can detect region when my app is closed(or background) .
I was trying to detect region when its closed with iBeacon
,than when in region, switch to BLE IN BACKGROUND to exchange data. So, that didn't work,when discover the iBeacon
in background, i can't also connect to it via BLE
,only in foreground .
Than i was thinking, why i can't register to a BLE device, and also awake an app when its closed, when i am closed to a BLE with a certain UUID. I have read almost anything, and Apple seems to have so many rules, that you can't eventually understand if you can or can't do that, and how .
//no bottom line :
How to wake up iOS app with bluetooth signal (BLE)
So , can it be done ??? if not, can you even switch from iBeacon when enter region to BLE ? if i do that in background, he can't find the BLE device,only in foreground .