I have installed the diagnostics plugin following the guide here: https://ionicframework.com/docs/native/diagnostic/
This worked fine, recently I cleaned up the whole project reinstalled angular and now when I try to run the app the AndroidManifest.xml is missing:
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
Same goes for Geolocation, i do not see the permissions in the generated AndroidManifest.xml
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
I can off course manually add them, but the manifest files get re-written at every compile.
I have tried to remove and readd the plugins but no dice, what and where should I check?