Ionic-native: BLE pluggin - cordova-plugin-bluetoothle

Created on 9 Feb 2017  路  6Comments  路  Source: ionic-team/ionic-native

We already saw one available BLE plugin wrapped in ionic native but unfortunately my company does not use that plugin but this one: https://github.com/randdusing/cordova-plugin-bluetoothle

So could you please help to integrate this plugin into ionic native please?

or there is quick/dirty way to use it?

Thank you very much

Vuong Nguyen
EMSA TECHNOLOGY

plugin request

All 6 comments

We'll look into it.

For now, if you need to use it with Ionic 2, you can do the following:

  1. Add this line at the top of every page where you wish to use the plugin to get rid of IDE errors:
declare var bluetoothle: any;
  1. Use the plugin as instructed by their documentation, you will have to use callback functions since that's how their plugin works.

I would also love to see it. It seems to have so many more features ....

I would also like to see this plugin being supported as it seems to be the only Bluetooth plugin with peripheral functionality e.g. advertisement !

If you want to know how to use this plugin in ionic 3, take a look at this stack overflow question https://stackoverflow.com/a/48208531/6853836

Hi, that link doesn't work to stackoverflow. Can you please repost it?

Plugin added

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ajcrites picture ajcrites  路  3Comments

hobbydevs picture hobbydevs  路  3Comments

lycwed picture lycwed  路  4Comments

icchio picture icchio  路  3Comments

kyleap picture kyleap  路  4Comments