How can i edit androidmanifest.xml in aab

I have an application packaged as aab and it includes permissions that the application does not need and I would like to know how to modify these permissions in the androidmanifest.xml or if there is a way to configure them before or after packaging?
The same as could be done with apks using apk editor

I think you may be able to do this with the edit-config and config-file tags in config.xml. Then you would not need to modify the apk/aab files.

…thanks for the reply! I try to explain a little better:
In the config.xml file I include only the following plugins:

plugin name=“cordova-plugin-splashscreen” source=“npm” spec="~6.0.0"
plugin name=“cordova-plugin-ble-central” source=“npm” spec="~1.3.1"

After compiling in the androidmanifest.xml it generates the following permissions:

uses-permission android:name=“android.permission.INTERNET”
uses-permission android:name=“android.permission.ACCESS_COARSE_LOCATION”
uses-permission android:name=“android.permission.ACCESS_FINE_LOCATION”
uses-permission android:name=“android.permission.ACCESS_BACKGROUND_LOCATION”
uses-permission android:name=“android.permission.BLUETOOTH”
uses-permission android:name=“android.permission.BLUETOOTH_ADMIN”

Of these 6 permissions I only need:

uses-permission android:name=“android.permission.ACCESS_FINE_LOCATION”
uses-permission android:name=“android.permission.BLUETOOTH”
uses-permission android:name=“android.permission.BLUETOOTH_ADMIN”

How can I remove the permissions I don’t need, before or after aab is compiled?