Not native plugin wrapper


I would like to use :
The native BLE is not sufficient for my needs.

I doesn’t want to use the plugin directly and want having Promises or Observables.

So i see a tutorial here :
and more informations here
Somone even made the wrapper :

But it’s not enought for me, i don’t understand where i have to put the wrapper file…

Thanks for you help.

You can place the file with the wrapper anywhere in your folder structure. Reasonable locations are providers/my-wrapper/my-wrapper.ts and plugins/my-wrapper/my-wrapper.ts (I prefer the latter). Don’t forget to add your wrapper to the providers collection of your app module.


1 Like