From 6ddd2aa1841bb04d2e9441b1b761c72609f4b0dd Mon Sep 17 00:00:00 2001 From: Thomas Kemmer Date: Mon, 9 Jan 2017 11:06:33 +0100 Subject: [PATCH] fix(ble): stopScan takes no args when used as clear function (#944) --- src/plugins/ble.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/ble.ts b/src/plugins/ble.ts index 6f668a870..770287b7a 100644 --- a/src/plugins/ble.ts +++ b/src/plugins/ble.ts @@ -205,7 +205,7 @@ export class BLE { @Cordova({ observable: true, clearFunction: 'stopScan', - clearWithArgs: true + clearWithArgs: false }) static startScan(services: string[]): Observable { 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 { return; }