Skip to content

Commit

Permalink
fix(ble): stopScan takes no args when used as clear function (#944)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkem authored and ihadeed committed Jan 9, 2017
1 parent 9974a1f commit 6ddd2aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/ble.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export class BLE {
@Cordova({
observable: true,
clearFunction: 'stopScan',
clearWithArgs: true
clearWithArgs: false
})
static startScan(services: string[]): Observable<any> { return; }

Expand All @@ -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; }

Expand Down

0 comments on commit 6ddd2aa

Please sign in to comment.