Android Extensibility Configurations Error

I am updating the plugin https://github.com/transistorsoft/cordova-background-geolocation-lt in a mobile app, but it is requesting some information from the AndroidManifest file. I've tried value input variations using https://success.outsystems.com/Documentation/11/Delivering_Mobile_Apps/Customize_Your_Mobile_App/Extensibility_Configurations_JSON_Schema but the error always appears below:


I need to add the following data:

<platform name="android">
      <!-- background-geolocation -->
      <config-file parent="/manifest/application" target="app/src/main/AndroidManifest.xml">
          <meta-data
            android:name="com.transistorsoft.locationmanager.license_key"
            android:value="YOUR_LICENSE_KEY_HERE" />
      </config-file>
      <!-- /background-geolocation -->
</platform>


I have already tried to add as follows:

{
    "preferences": {
        "android": [{
            "name": "com.transistorsoft.locationmanager.license_key",
            "value": "MY LICENSE KEY"
        }]
    }
}

And

{
   "plugin": {
        "url": "https://github.com/transistorsoft/cordova-background-geolocation-lt",
        "variables":
            [
                {
                    "name": "com.transistorsoft.locationmanager.license_key",
                    "value": "MY LICENSE KEY"
                }
            ]
    }
}


But the error remains the same.

Can anyone help me?


Eurico Junior

Hi,

did you tried to generate a new build & install/test it on the device. You might be trying to test on the old-build & thus the config is not getting an update with that.