mgtypes 1.0.33 → 1.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/Configuration.ts +3 -1
package/package.json
CHANGED
package/types/Configuration.ts
CHANGED
|
@@ -313,7 +313,7 @@ export interface mgPermissionsProfile {
|
|
|
313
313
|
NATIVE_PERMISSIONS: {
|
|
314
314
|
LOCATION_FOREGROUND: boolean;
|
|
315
315
|
LOCATION_BACKGROUND: boolean;
|
|
316
|
-
|
|
316
|
+
PHOTO_LIBRARY: boolean;
|
|
317
317
|
CAMERA: boolean;
|
|
318
318
|
MICROPHONE: boolean;
|
|
319
319
|
CONTACTS: boolean;
|
|
@@ -328,6 +328,8 @@ export interface mgPermissionsProfile {
|
|
|
328
328
|
CAN_ADD_TO_THREAD: boolean;
|
|
329
329
|
CAN_EMBED_IN_THREAD: boolean;
|
|
330
330
|
};
|
|
331
|
+
// if a permission is not toggleable and defaults to false, don't
|
|
332
|
+
// even bother showing it
|
|
331
333
|
LOCATION: {
|
|
332
334
|
SHOW_LOCATION: { canToggle: boolean; default: boolean }; // blue dot
|
|
333
335
|
SHOW_DISTANCE_FROM_PINS: { canToggle: boolean; default: boolean };
|