File tree 2 files changed +7
-1
lines changed
Libraries/PermissionsAndroid
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,9 @@ export type PermissionType =
41
41
| 'android.permission.RECEIVE_WAP_PUSH'
42
42
| 'android.permission.RECEIVE_MMS'
43
43
| 'android.permission.READ_EXTERNAL_STORAGE'
44
- | 'android.permission.WRITE_EXTERNAL_STORAGE';
44
+ | 'android.permission.WRITE_EXTERNAL_STORAGE'
45
+ | 'android.permission.BLUETOOTH_CONNECT'
46
+ | 'android.permission.BLUETOOTH_SCAN';
45
47
*/
46
48
47
49
export interface Spec extends TurboModule {
Original file line number Diff line number Diff line change @@ -59,6 +59,8 @@ const PERMISSIONS = Object.freeze({
59
59
RECEIVE_MMS : 'android.permission.RECEIVE_MMS' ,
60
60
READ_EXTERNAL_STORAGE : 'android.permission.READ_EXTERNAL_STORAGE' ,
61
61
WRITE_EXTERNAL_STORAGE : 'android.permission.WRITE_EXTERNAL_STORAGE' ,
62
+ BLUETOOTH_CONNECT : 'android.permission.BLUETOOTH_CONNECT' ,
63
+ BLUETOOTH_SCAN : 'android.permission.BLUETOOTH_SCAN' ,
62
64
} ) ;
63
65
64
66
/**
@@ -73,6 +75,8 @@ class PermissionsAndroid {
73
75
ACCESS_COARSE_LOCATION : string ,
74
76
ACCESS_FINE_LOCATION : string ,
75
77
ADD_VOICEMAIL : string ,
78
+ BLUETOOTH_CONNECT : string ,
79
+ BLUETOOTH_SCAN : string ,
76
80
BODY_SENSORS : string ,
77
81
CALL_PHONE : string ,
78
82
CAMERA : string ,
You can’t perform that action at this time.
0 commit comments