Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12628

Capability declarations in config.xml are ignored for package.appxmanifest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 6.5.0
    • None
    • cordova-windows
    • cordova@6.5.0, cordova-windows@5.0.0 (and below)

    Description

      Capability declarations for Windows (UAP 10.0 and others) are not merged into the resulting package.appxmanifest files of the windows project.

      To reproduce:

      1. cordova create windows-cat-test
      2. Add the following entry to config.xml (this snippet would work in a plugin.xml of a cordova plugin):

      <platform name="windows">
        <config-file target="package.appxmanifest" parent="/Package/Capabilities">
          <Capability Name="privateNetworkClientServer" />
        </config-file>
      </platform>
      

      3. cordova platform add windows
      => The privateNetworkClientServer Capability is not merged into any package.appxmanifest

      Attachments

        Activity

          People

            Nikita Matrosov Nikita Matrosov
            peterjuras Peter Juras
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: