fix(diagnostic): add getBluetoothAuthorizationStatus function (#4398)

This commit is contained in:
Mathias Verdon 2022-11-05 04:43:46 +08:00 committed by GitHub
parent 755b28e325
commit c544b43a51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -687,6 +687,16 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
return; return;
} }
/**
* Returns the Bluetooth authorization status of the application on the device.
*
* @returns {Promise<any>}
*/
@Cordova({ platforms: ['Android', 'iOS'] })
getBluetoothAuthorizationStatus(): Promise<any> {
return;
}
/** /**
* Checks if the application is authorized to use external storage. * Checks if the application is authorized to use external storage.
* *