fix(ble): stopScan takes no args when used as clear function (#944)

This commit is contained in:
Thomas Kemmer 2017-01-09 11:06:33 +01:00 committed by Ibby Hadeed
parent 9974a1fbd8
commit 6ddd2aa184

View File

@ -205,7 +205,7 @@ export class BLE {
@Cordova({
observable: true,
clearFunction: 'stopScan',
clearWithArgs: true
clearWithArgs: false
})
static startScan(services: string[]): Observable<any> { return; }
@ -218,7 +218,7 @@ export class BLE {
@Cordova({
observable: true,
clearFunction: 'stopScan',
clearWithArgs: true
clearWithArgs: false
})
static startScanWithOptions(services: string[], options: {reportDuplicates?: boolean} | any): Observable<any> { return; }