mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-23 02:12:56 +08:00
fix(diagnostic): add new Android runtime permissions for Bluetooth (#4402)
This commit is contained in:
parent
2d347e46ed
commit
6a97dc5e07
@ -66,6 +66,9 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
|
||||
WRITE_EXTERNAL_STORAGE: 'WRITE_EXTERNAL_STORAGE',
|
||||
READ_EXTERNAL_STORAGE: 'READ_EXTERNAL_STORAGE',
|
||||
BODY_SENSORS: 'BODY_SENSORS',
|
||||
BLUETOOTH_ADVERTISE: "BLUETOOTH_ADVERTISE",
|
||||
BLUETOOTH_SCAN: "BLUETOOTH_SCAN",
|
||||
BLUETOOTH_CONNECT: "BLUETOOTH_CONNECT",
|
||||
};
|
||||
|
||||
@CordovaProperty()
|
||||
@ -113,6 +116,7 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
|
||||
SENSORS: ['BODY_SENSORS'],
|
||||
SMS: ['SEND_SMS', 'RECEIVE_SMS', 'READ_SMS', 'RECEIVE_WAP_PUSH', 'RECEIVE_MMS'],
|
||||
STORAGE: ['READ_EXTERNAL_STORAGE', 'WRITE_EXTERNAL_STORAGE'],
|
||||
NEARBY_DEVICES: ["BLUETOOTH_ADVERTISE", "BLUETOOTH_SCAN", "BLUETOOTH_CONNECT"],
|
||||
};
|
||||
|
||||
locationMode = {
|
||||
|
Loading…
Reference in New Issue
Block a user