Sorry I’m new to ionic and cordova.
I also want to use bluetoothle since it has methods I need.
I created a declarations.d.ts file in my src\ folder and copied the code from your last post in it, what I dont understand is what you have declared in the app.components.ts ?
Whatever I do I always get bluetoothle is not defined.
I tried(<any>window).bluetoothle, bluetoothle and importing like this:
import { bluetoothle } from 'cordova-plugin-bluetoothle';
after adding the declarations.d.ts file.
Could you please tell me what I’m doing wrong ?
Edit: I’m testing natively on android with :
ionic cordova run android --livereload --lc