My app is not asking permissions for camera neither geolocation, both on Android and iOs. What is wrong with my config.xml?

I’m adding the latest version of cordova-plugin-camera and cordova-plugin-geolocation on both platforms and the resulting app’s aren’t asking me for the permissions, so both the camera and geolocation are not working when required by the app.

Thanks in advance for your help, we are desparate trying to migrate from Phonegap…

Here is my config.xml

  <preference name="permissions" value="none" />
  <preference name="prerendered-icon" value="true" />
  <preference name="android-windowSoftInputMode" value="adjustResize" />
  <preference name="SplashScreenDelay" value="5000" />
  <preference name="AutoHideSplashScreen" value="true" />
  <preference name="SplashMaintainAspectRatio" value="true" />
  <preference name="SplashShowOnlyFirstTime" value="false" />
  <preference name="FadeSplashScreen" value="false" />
  <preference name="ShowSplashScreenSpinner" value="false" />
  <preference name="DisallowOverscroll" value="true" />
  <preference name="StatusBarOverlaysWebView" value="false" />
  <preference name="StatusBarBackgroundColor" value="#ffffff" />
  <preference name="android-minSdkVersion" value="22" />
  <preference name="android-targetSdkVersion" value="29" />
  <preference name="phonegap-version" value="cli-10.0.0" />
  <engine name="ios" spec="6.1.1" />
  <platform name="ios">
    <plugin name="cordova-plugin-geolocation" spec="4.0.2" />
    <edit-config target="NSLocationAlwaysUsageDescription" platform="ios" file="*-Info.plist" mode="overwrite">
      <string>VTPortal necesita acceder a tu localización para realizar el fichaje.</string>
    </edit-config>
    <edit-config target="NSLocationWhenInUseUsageDescription" platform="ios" file="*-Info.plist" mode="overwrite">
      <string>VTPortal necesita acceder a tu localización para realizar el fichaje.</string>
    </edit-config>
    <plugin name="cordova-plugin-camera" spec="5.0.0" onload="true" />
    <edit-config target="NSCameraUsageDescription" platform="ios" file="*-Info.plist" mode="overwrite">
      <string>VTPortal necesita acceder a la cámara para realizar el fichaje.</string>
    </edit-config>
    <edit-config target="NSPhotoLibraryUsageDescription" platform="ios" file="*-Info.plist" mode="overwrite">
      <string>VTPortal necesita acceder a la librería de fotos para realizar el fichaje.</string>
    </edit-config>


    <preference name="ios-package" value="nfcplugin" />
    <edit-config target="com.apple.developer.nfc.readersession.formats" platform="ios" file="*-Debug.plist" mode="overwrite">
      <array>
        <string>NDEF</string>
      </array>
    </edit-config>
    <edit-config target="com.apple.developer.nfc.readersession.formats" platform="ios" file="*-Release.plist" mode="overwrite">
      <array>
        <string>NDEF</string>
      </array>
    </edit-config>
    <edit-config target="com.apple.developer.nfc.readersession.formats" platform="ios" file="*-Info.plist" mode="overwrite">
      <array>
        <string>NDEF</string>
      </array>
    </edit-config>
    <edit-config target="NFCReaderUsageDescription" platform="ios" file="*-Info.plist" mode="overwrite">
      <string>VTPortal necesita acceder al lector NFC para poder escanear la tarjeta.</string>
    </edit-config>
    <framework src="CoreNFC.framework" />

    <icon height="167" platform="ios" src="res/icon-ios-83.5@2x.png" width="167" />
    <!--1334x1334-->
    <splash src="res/Default@2x~iphone~anyany.png" />
    <!--750x1334-->
    <splash src="res/Default@2x~iphone~comany.png" />
    <!--1334x750-->
    <splash src="res/Default@2x~iphone~comcom.png" />
    <!--2208x2208-->
    <splash src="res/Default@3x~iphone~anyany.png" />
    <!--2208x1242-->
    <splash src="res/Default@3x~iphone~anycom.png" />
    <!--1242x2208-->
    <splash src="res/Default@3x~iphone~comany.png" />
    <!--2732x2732-->
    <splash src="res/Default@2x~ipad~anyany.png" />
    <!--1278x2732-->
    <splash src="res/Default@2x~ipad~comany.png" />
    <!--2732x2732-->
    <splash src="res/Default@2x~universal~anyany.png" />
  </platform>
  <platform name="android">
    <plugin name="cordova-plugin-splashscreen" spec="5.0.2" onload="true" />
    <plugin name="cordova-plugin-geolocation" spec="4.0.2" />
    <plugin name="cordova-plugin-camera" spec="5.0.0" />
    <preference name="loadUrlTimeoutValue" value="700000" />
    <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
      <application android:usesCleartextTraffic="true" />
    </edit-config>
  </platform>
  <plugin name="cordova-plugin-ios-longpress-fix" spec="1.1.0" />
  <plugin name="cordova-plugin-device" spec="2.0.2" />
  <plugin name="cordova-plugin-file" spec="6.0.1" />
  <!-- <plugin name="cordova-plugin-file-transfer" spec="1.7.1" /> -->
  <plugin name="cordova-plugin-file-opener2" spec="3.0.0" />
  <plugin name="cordova-plugin-inappbrowser" spec="4.0.0" />
  <plugin name="cordova-plugin-media" spec="5.0.2" />
  <plugin name="cordova-plugin-media-capture" spec="3.0.2" />
  <plugin name="cordova-plugin-network-information" spec="2.0.1" />
  <plugin name="cordova-plugin-whitelist" />
  <plugin name="cordova-plugin-statusbar" spec="2.4.2" onload="true" />
  <plugin name="phonegap-nfc" source="npm" spec="1.2.0" />
  <plugin name="cordova-plugin-backbutton" source="npm" />
  <access origin="*" />
  <access origin="*.*" />
  <access origin=".*" />
  <allow-navigation href="*" />
  <edit-config platform="ios" parent="CFBundleShortVersionString">
    <string>3.7.3</string>
  </edit-config>
  <preference name="orientation" value="portrait" />

Are you testing on Android or iOS?

Does it make a difference if you do a complete uninstall of the app?