Daily iOS
App lifecycle and system

Background BLE and digital car keys

You're building a digital car key app. When the user walks up to the car with the phone in a pocket (the app in the background), it has to unlock over BLE. What configuration and design does BLE communication from the background need on iOS?

How would an interviewer hear this answer? You'll see whether they'd move on, dig in, or say no, and which sentences would trip you up. Your score doesn't change.
See the short answer

The bluetooth-central background mode allows scanning and connecting in the background, and you leave a connect pending on a known peripheral so the system connects for you. Back up proximity with UWB and a challenge-response.

Share a question