mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-16 08:21:10 +08:00
feat(diagnostics): add getBluetoothAuthorizationStatuses function (#4442)
This commit is contained in:
parent
b283dc2e76
commit
ff78ca7fb4
@ -697,6 +697,17 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
|
|||||||
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…
x
Reference in New Issue
Block a user