Alex MitrovicBLE & IoT app developer, Android and iOS

Guide

The Android BLE field guide

Every BLE article on this site, in the order you run into the problems: from the permission prompt to the last byte of a firmware update. Code is Kotlin and tested on real phones. iOS notes where they differ.

Short answer

How do you build a reliable BLE app on Android?

Get permissions and scanning right for each Android version, run every GATT operation through one queue, close every BluetoothGatt you're done with, handle disconnect statuses and bonding explicitly, tune MTU and connection parameters with the firmware team, make OTA updates resumable, and test on the phone brands your users actually have.

Rather have someone fix it?

The BLE reliability audit finds what's wrong with your app's BLE layer on real phones, in about a week, at a fixed price.

See the audit

Free · NDA on request · reply within 1–2 working days