Nativescript bluetooth and bluetooth v5.0

167 views Asked by At

I'm currently looking into an issue where my companys app have some trouble establishing searches and connection to a cadence BLE peripheral.

We're developing using [email protected] {N}6 and for the past long while we've used the [email protected] plugin with no issue. It's been used primarily on tablets with bluetooth 4.x. Problem started when we tried our app on Samsung Galaxy tab A7 with bluetooth v5.0. The app wouldn't start a search or connect with the usual peripheral Wahoo cadence sensor.

What I can do is see the Wahoo sensor in the Android Bluetooth Manager as well as nRF connect and Wahoo's Fitness app. But using the usual plugin doesn't seem to be able to do anything. I'm still fairly new to the BLE programming game, so if anybody have any advice as to why the Samsung Galaxy tab A7 with bluetooth 5.0 won't connect, I'd be happy to receive some.

1

There are 1 answers

5
Jose Chavez On

So nativescript-bluetooth 1.3.1 is no longer valid in Android versions 10+. I have to migrate my app to nativescript 7 as well. I'm having trouble with migrating, and if you have any suggestions for some of my questions, I would greatly appreciate it!