-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.js
More file actions
47 lines (43 loc) · 1.1 KB
/
Copy pathconstants.js
File metadata and controls
47 lines (43 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//Constantes de permisos
export const CAMERA = '_camera'
export const AUDIO_RECORDING = '_audio_recording'
export const CONTACTS = '_contacts'
// export const CAMERA_ROLL = '_camera_roll'
export const MEDIA_LIBRARY = '_media_library'
export const MEDIA_LIBRARY_WRITE_ONLY = '_media_library_write_only'
export const CALENDAR = '_calendar'
export const REMINDERS = '_reminders'
export const SYSTEM_BRIGHTNESS = '_system_brightness'
export const NOTIFICATIONS = '_notifications'
export const USER_FACING_NOTIFICATIONS = '_user_facing_notifications'
export const LOCATION = '_location'
//Constantes de conexion a internet
export const WIFI = 'wifi'
export const ANY = 'any'
export const CELLULAR = {
'4g': '4g',
'3g': '3g',
'2g': '2g',
}
export const NONE = 'none'
//Constantes de estado de bateria
export const NO_POWER_SAVER = 'no_power_saver'
export default {
CAMERA,
AUDIO_RECORDING,
CONTACTS,
// CAMERA_ROLL,
MEDIA_LIBRARY,
MEDIA_LIBRARY_WRITE_ONLY,
CALENDAR,
REMINDERS,
SYSTEM_BRIGHTNESS,
NOTIFICATIONS,
USER_FACING_NOTIFICATIONS,
LOCATION,
WIFI,
CELLULAR,
NONE,
ANY,
NO_POWER_SAVER,
}