This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can I use cordova with Nordic Chip?

Hello,

I am developing an app that uses Xamarin.Forms to communicate with BLE devices equipped with Nordic chips.

It works fine on IOS, but Android doesn't.

Android suffers from an issue where connections are often undesirable depending on the model.


Do you recommend using Cordora?
Or should I use the Library (Nordichttps: //github.com/NordicSemiconductor/Android-BLE-Library) provided by your company?


framework
-Xamarin.Fomrs
-Plugin.BLE (It wraps this Cordova plugin)

Thasks for you help.

Parents
  • Hello,

    Well, we do recommend using Android BLE library, if you are implementing a native Android app. But when you look for a cross-platform solution, then Xamarin should be a good choice. However, we do not provide any support for it. Some of our libraries, like DFU, were ported to Xamarin, but not by us, and may be not up to date.

    Xamarin has this advantage, that you write "once" for all platforms, but as you see, you encounter problems that you don't have by having 2 native developers. 

    On the other hand, BLE on Android is much less stable than in iOS, at least for the older versions, so perhaps the issues you see would still be present when using our library. It depends on the phone model a lot. In BLE library we try to "workaround" the common issues, but similar workarounds can also be implemented in Xamarin, I think. I don't know the BLE api in this framework.

Reply
  • Hello,

    Well, we do recommend using Android BLE library, if you are implementing a native Android app. But when you look for a cross-platform solution, then Xamarin should be a good choice. However, we do not provide any support for it. Some of our libraries, like DFU, were ported to Xamarin, but not by us, and may be not up to date.

    Xamarin has this advantage, that you write "once" for all platforms, but as you see, you encounter problems that you don't have by having 2 native developers. 

    On the other hand, BLE on Android is much less stable than in iOS, at least for the older versions, so perhaps the issues you see would still be present when using our library. It depends on the phone model a lot. In BLE library we try to "workaround" the common issues, but similar workarounds can also be implemented in Xamarin, I think. I don't know the BLE api in this framework.

Children
No Data
Related