Swift background Bluetooth connect with specific device and upload user location
$30-250 USD
Paid on delivery
I need, maybe best is a singleton, a swift script that connects via Bluetooth to a specific but known device (UUID) even if the App is in background. The purpose is, that anytime the Bluetooth device is in reach for an iPhone, the App sends its own (user) location to a server (i made this by UDPConnection). Script should be called anytime App enters background.
Step by Step - Funktion:
[login to view URL] is in Background and Bluetooth is switched on.
2. Specific but known UUID (Bluetooth device) comes in Bluetooth reach.
3. IPhone connects with Bluetooth device
4. IPhone starts sending own user location to server
5. Bluetooth device is out of reach or connection got interrupted
6. IPhone stops sending user location
--> Back to No. 1
Project ID: #16675183