mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
feat(diagnostics): add getBluetoothAuthorizationStatuses function (#4442)
This commit is contained in:
parent
b283dc2e76
commit
ff78ca7fb4
@ -696,6 +696,17 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
|
|||||||
getBluetoothAuthorizationStatus(): Promise<any> {
|
getBluetoothAuthorizationStatus(): Promise<any> {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the individual authorization status for each Bluetooth run-time permission on Android 12+ / API 31+
|
||||||
|
* On Android 11 / API 30 and below, all will be returned as GRANTED if the manifest has BLUETOOTH since they are implicitly granted at build-time.
|
||||||
|
*
|
||||||
|
* @returns {Promise<any>}
|
||||||
|
*/
|
||||||
|
@Cordova({ platforms: ['Android'] })
|
||||||
|
getBluetoothAuthorizationStatuses(): Promise<any> {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if the application is authorized to use external storage.
|
* Checks if the application is authorized to use external storage.
|
||||||
|
Loading…
Reference in New Issue
Block a user