Open fabLouis opened 8 years ago
Can you post the source for bleComponent?
I think it's not important because the bleComponent is a wrapper class for the opportunity to easily change (in case) the BLE plugin.
For the exemple for the bleComponent.startScan() method:
public startScan(successCallback, errorCallback, params) {
this.bluetoothle.startScan(successCallback, errorCallback, params);
}
Maybe try removing and readding the plugin. Also the this.
in this.bluetoothle
could potentially be causing an issue.
Same result Rand.
About the this.bluetoothle
, the this.
is here because the language is TypeScript.
Do you have Ionic installed? You could try using the example in https://github.com/randdusing/ng-cordova-bluetoothle. If even that doesn't work, it may be device related.
Hello,
When I call startScan() method (with {} for params), the success or error callbacks are not raised only on iOS, on Android it's work well. Why?
My environment:
The (basic) code:
Tested on iPhone 5c (iOS 9.3.2) with severals estimotes.
Thanks for your help