permissionMap top-level constant
Map
const permissionMap
Implementation
const Map permissionMap = {
3: "geolocation",
4: "geolocation",
5: "geolocation",
17: "notifications",
99: "push",
98: "midi",
1: "camera",
7: "microphone",
14: "microphone",
97: "speaker",
96: "device-info",
21: "bluetooth",
28: "bluetooth",
29: "bluetooth",
30: "bluetooth",
15: "persistent-storage",
12: ["accelerometer", "gyroscope", "magnetometer"],
6: "storage-access",
9: "storage-access",
10: "storage-access",
22: "storage-access",
};