mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-21 01:06:25 +08:00
fix(ble): stopScan takes no args when used as clear function (#944)
This commit is contained in:
parent
9974a1fbd8
commit
6ddd2aa184
@ -205,7 +205,7 @@ export class BLE {
|
|||||||
@Cordova({
|
@Cordova({
|
||||||
observable: true,
|
observable: true,
|
||||||
clearFunction: 'stopScan',
|
clearFunction: 'stopScan',
|
||||||
clearWithArgs: true
|
clearWithArgs: false
|
||||||
})
|
})
|
||||||
static startScan(services: string[]): Observable<any> { return; }
|
static startScan(services: string[]): Observable<any> { return; }
|
||||||
|
|
||||||
@ -218,7 +218,7 @@ export class BLE {
|
|||||||
@Cordova({
|
@Cordova({
|
||||||
observable: true,
|
observable: true,
|
||||||
clearFunction: 'stopScan',
|
clearFunction: 'stopScan',
|
||||||
clearWithArgs: true
|
clearWithArgs: false
|
||||||
})
|
})
|
||||||
static startScanWithOptions(services: string[], options: {reportDuplicates?: boolean} | any): Observable<any> { return; }
|
static startScanWithOptions(services: string[], options: {reportDuplicates?: boolean} | any): Observable<any> { return; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user