O'Reilly logo

Hybrid Mobile Development with Ionic by Gaurav Saini

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Proximity-based screen lock using BLE

This is something that I have been thinking of for a while to implement and is a real-life problem for me. It's time to look into how practical it can be to use BLE stack with an Ionic application. While working in my office, I have to quite often had leave my seat for taking some urgent calls or to attend some meetings. Most of the time I forget to screen lock my laptop. So, I thought of building this proximity based screen lock application using BLE and Websockets.

Let's first look quickly look into how the application will work. Ionic based application listens to the iBeacon packets from the continuously broadcasting laptop. As, soon as I move from my seat with my mobile, at some point it will exit ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required