From a5ca856518d0c9ac5a6030c9255f0d0e6a7ce40b Mon Sep 17 00:00:00 2001 From: Alexis THOMAS Date: Tue, 15 Aug 2023 18:35:59 +0200 Subject: [PATCH 1/3] feat: remove FLASHLIGHT permission Since using the camera, with CAMERA permission, already allows to use the flashlight. see https://stackoverflow.com/a/48553060 --- plugin.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/plugin.xml b/plugin.xml index 0013bfaa..66536e9c 100644 --- a/plugin.xml +++ b/plugin.xml @@ -43,7 +43,6 @@ - From 13e0106a74c8d8af21081c4fdc3819e5b7b37577 Mon Sep 17 00:00:00 2001 From: Alexis THOMAS Date: Tue, 15 Aug 2023 18:36:07 +0200 Subject: [PATCH 2/3] feat: remove explicit hardware.camera feature The CAMERA permission automatically requires all camera features. see https://developer.android.com/guide/topics/manifest/uses-feature-element#permissions Let app developers decide whether these are required or not, set by themselves if needed, preventing conflict with other plugins here. --- plugin.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/plugin.xml b/plugin.xml index 66536e9c..caf6197f 100644 --- a/plugin.xml +++ b/plugin.xml @@ -43,7 +43,6 @@ - From 5564ff22fd04867948c8f6ddf77edbee142f8997 Mon Sep 17 00:00:00 2001 From: Alexis THOMAS Date: Sat, 19 Aug 2023 00:38:46 +0200 Subject: [PATCH 3/3] feat: restore features to disable filtering based on the CAMERA permission see https://developer.android.com/guide/topics/manifest/uses-feature-element#permissions --- plugin.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin.xml b/plugin.xml index caf6197f..a44967dc 100644 --- a/plugin.xml +++ b/plugin.xml @@ -43,6 +43,8 @@ + +