@on_di @giannisgx89 , this may help
https://cybernews.com/privacy/android-apps-are-asking-for-too-many-dangerous-permissions-heres-how-we-know/
My yaps app, after compliation had added lots of permissions, mainly due to the inclusion of other 3rd party code
I added lines to the manifest to exclude the unnecessary bits as I know none of these are used in my skin, for instance
<!-- get rid of stuff from licenseviewmaster -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove" />
<uses-permission android:name="android.permission.INSTALL_SHORTCUT" tools:node="remove" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" tools:node="remove" />
<uses-permission android:name="android.permission.VIBRATE" tools:node="remove" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" tools:node="remove" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="remove"
tools:ignore="ScopedStorage" />