fix(ble): add missing method "isLocationEnabled" (#3495)

This commit is contained in:
陈龙明 2020-08-14 23:32:01 +08:00 committed by GitHub
parent 5aa5757795
commit b4462d5e6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -607,4 +607,15 @@ export class BLE extends IonicNativePlugin {
bondedDevices(): Promise<any[]> {
return;
}
/**
* Reports if location services are enabled.
* Android only
*
* @returns {Promise<void>}
*/
@Cordova()
isLocationEnabled(): Promise<void> {
return;
}
}