Home / Insights / Mobile App Development
Mobile App Development
Building a Native Companion App for a Bluetooth Device: A Checklist for Hardware Teams
When a product is a physical device, the companion app is often where customers decide whether it works. This checklist covers the decisions hardware and app teams must agree before building a Bluetooth Low Energy companion app.
Key takeaways
- Agree the GATT contract (services, characteristics, data formats, versioning) between firmware and app teams before either side writes much code.
- Treat permissions, pairing and reconnection as core user journeys, not edge cases. They generate most support tickets.
- BLE suits small, frequent data. Plan bulk transfers, such as firmware images or logs, explicitly and test them on weak connections.
- Data exchanged with a paired BLE device is not private from other apps on the phone, so sensitive payloads need app-layer protection.
- Budget for a device test lab: several phone models, OS versions, firmware revisions and a way to simulate failures.
On this page
- 1. Agree the GATT contract first
- 2. Design permissions, pairing and reconnection as primary journeys
- 3. Plan data, security and firmware updates
- 4. Respect platform differences
- 5. Test the product, not just the app
- Questions to ask an app development partner
- Frequently asked questions
- Sources and methodology
Companion apps for connected devices, such as fitness sensors, medical peripherals, smart locks, scooters or industrial tools, have a reputation for poor reviews. The pattern is familiar: the hardware works on the bench, the app works in the simulator, and real customers struggle to pair, lose connection in their pocket, or get stuck halfway through a firmware update.
Native development is usually the right fit for this kind of product, because Bluetooth behaviour, background execution and permission models differ between iOS and Android in ways that matter. But the larger risk is organisational. Firmware and app teams often work to different schedules, with different assumptions. This checklist sets out what to agree, design and test so the two halves of the product behave as one.
1. Agree the GATT contract first
In Bluetooth Low Energy, the phone typically acts as the central and GATT client, and the device as the peripheral and GATT server. The device exposes services and characteristics; the app reads, writes and subscribes to them. That interface is effectively an API, and it deserves the same discipline.
- Document every service and characteristic. UUID, purpose, read/write/notify properties, byte layout, units, endianness and valid ranges.
- Version the protocol. Expose a firmware and protocol version characteristic so the app can adapt to older devices in the field.
- Define error behaviour. What does the device return when a command is invalid, the battery is low or an operation is already running?
- Keep payloads small. BLE is designed for low power and small transfers. Batch readings sensibly rather than notifying on every sample.
- Provide a simulator or reference device early. App developers blocked on hardware availability is one of the most common causes of delay.
The same contract-first thinking we recommend for web services applies here; see API-first development for the general approach.
2. Design permissions, pairing and reconnection as primary journeys
The first five minutes with a connected device decide much of its reputation. Design them as carefully as any revenue flow.
Permissions
Both platforms require explicit Bluetooth permission, and Android’s requirements have changed across versions, with separate scan and connect permissions on newer releases and location-related rules on older ones. Explain why the app needs access before the system prompt appears, and design a recovery path for users who decline.
Pairing and onboarding
- How does the user identify their device among several nearby? Serial number, QR code, LED blink, button press?
- Is the device bonded to one account or one phone? What happens when it is sold or gifted?
- What does the app show while scanning, when nothing is found, and when Bluetooth is off?
Reconnection and background behaviour
iOS and Android limit what apps can do in the background, and they do it differently. Decide which features genuinely need background connectivity (for example, receiving alerts from a sensor) and design within each platform’s rules rather than discovering them late.
3. Plan data, security and firmware updates
Android’s documentation notes that when a user pairs a device over BLE, the data exchanged is accessible to all apps on the phone. For anything sensitive, such as health readings, lock commands or payment-related data, add encryption and authentication at the application layer rather than relying on the Bluetooth link alone.
| Decision | Questions to settle |
|---|---|
| Data ownership | Does data live on the device, the phone, the cloud or all three? Which is the source of truth? |
| Sync | How are readings collected while the phone is away reconciled later? How are duplicates handled? |
| Command security | Can another phone send commands to the device? How are commands authenticated? |
| Firmware updates | Is the update delivered over the app? What happens if the connection drops mid-transfer? Can the device roll back? |
| Compatibility | Which app versions support which firmware versions, and how is the user told to update? |
Over-the-air firmware updates deserve their own design review. A failed update that bricks a device is far more expensive than a failed app release.
4. Respect platform differences
A shared design system and shared backend reduce duplication, but the Bluetooth layer is where native codebases earn their cost. On iOS the work sits on Core Bluetooth; on Android, on the platform Bluetooth APIs, typically wrapped in a well-tested library. Expect differences in:
- How scanning is filtered and how long it may run.
- Connection parameters, maximum packet sizes and throughput.
- Background execution rules and state restoration after the app is terminated.
- Behaviour across manufacturers on Android, where Bluetooth stacks vary between device makers.
If you are still deciding whether a cross-platform framework could handle your device integration, our guide to choosing native or cross-platform explains where hardware-heavy products tend to land.
5. Test the product, not just the app
Connected products fail at the boundaries: between phone and device, between app versions and firmware versions, and between ideal lab conditions and real pockets, cars and warehouses.
- Device matrix. Cover a range of iOS and Android versions and several Android manufacturers, prioritised by your target market.
- Firmware matrix. Test the current app against current and previous firmware, and the previous app against new firmware.
- Hostile conditions. Weak signal, walking out of range mid-operation, Bluetooth toggled off, phone restarted, battery saver enabled, app killed in the background.
- Long-running tests. Leave a connection running for hours or days to find memory leaks, missed notifications and drift.
- Firmware update interruptions. Deliberately cut the connection at different stages of an update.
Real devices matter more here than in most apps. Our article on finding mobile app performance problems covers profiling battery and responsiveness, both of which Bluetooth work affects.
Questions to ask an app development partner
If you are hiring a team to build the app, these questions separate partners with connected-device experience from those learning on your project:
- How would you structure the GATT contract and its versioning with our firmware team?
- How do you test without production hardware, and how do you simulate failures?
- How do you handle Android manufacturer differences in Bluetooth behaviour?
- What is your approach to over-the-air firmware updates and recovery?
- Which background behaviours are realistic on each platform for our use case?
- How will you protect sensitive data beyond the Bluetooth link?
PoliteTech’s native mobile development service covers Bluetooth, sensors, NFC and wearable companion apps, alongside the shared backend both apps depend on.
Frequently asked questions
Should a Bluetooth companion app be native or cross-platform?
Native is usually the safer choice when Bluetooth behaviour, background connectivity or firmware updates are central to the product. Cross-platform can work for simpler devices, often with native modules for the Bluetooth layer.
Can the app team start before the hardware is ready?
Yes, if the GATT contract is agreed and a simulator, development board or reference device is available. Without those, app work tends to stall or need rework.
Is Bluetooth pairing enough to secure the data?
Not for sensitive data. Android’s documentation notes that data exchanged with a paired BLE device is accessible to other apps on the phone, so add application-layer encryption and authentication.
How many phones do we need for testing?
Enough to cover the OS versions and Android manufacturers your customers actually use. Start from market data or early analytics, and add models when field reports point to device-specific issues.
Sources and methodology
Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.
- Android Developers: Bluetooth Low Energy overview — Supported the central/peripheral and GATT client/server roles, the small-data design of BLE, and the warning that paired BLE data is accessible to other apps.
Related reading
Continue your research
Planning a companion app for your connected device?
We can review your device protocol, platform needs and test plan, and help your firmware and app teams agree a contract before the build starts.
