mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
fix(ble): stopScan takes no args when used as clear function (#944)
This commit is contained in:
committed by
Ibby Hadeed
parent
9974a1fbd8
commit
6ddd2aa184
+2
-2
@@ -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; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user