Recommendation for best stack for new mobile app project

We have a Nordic 52840 based product which today we support with a custom gateway hardware.  Now we want to write mobile apps (Android and IOS) to talk to this directly.

We are wondering if the older Xcode and Java projects written for Thingy:52 is still a good place to start?

We are concerned if we start there, it will be outdated before release due to ongoing development like Kotlin BLE library (but on the other hand the v2 Kotlin library says not ready for production yet).

What is the best starting point for new project today?

Thanks,

Jacob

Parents Reply
  • Hello!

    Our BLE libraries are just wrappers around the native API. They simplify code (better API), un-spaghettiify the code (callbacks vs suspend/enque) and internally do some workarounds that help with connection stability. You can achieve the same level of robustness as the native API when it comes to BLE.

    Currently we are working on the Kotlin BLE Library which at some point in the future should transition to Kotlin Multiplatform, but I can't promise any specific date. The KMM project was a bit of an experiment, that put us to redesign the API which led to change from v1 to v2 of Kotlin BLE Library. With the new modules it should be easier to keep common implementation in core modules and platform specific separately.

    If you need KMM now, I would suggest looking https://github.com/JuulLabs/kable from JuulLabs.

    The choice of BLE library is not related to our chips. They all use the underlying native API and just differ with API and available set of features. Nordic has some other mobile libraries that offer higher-level API for specific usecases, like Device Firmware Update, Memfault integration, Wi-Fi provisioning, etc., but the basic BLE ones work on GATT level.

Children
Related