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

uap-prefixed capabilities are not being removed from package.windows10.appxmanifest on plugin rm

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-windows
    • Labels:

      Description

      1. Some cordova-plugin-capabities plugin.xml includes:

      <config-file target="package.appxmanifest" parent="/Package/Capabilities" device-target="windows">
          <Capability Name="enterpriseAuthentication" />
          <Capability Name="privateNetworkClientServer" />
          <Capability Name="sharedUserCertificates" />
      </config-file>
      

      2. cordova plugin add ..\cordova-plugin-capabities
      3. package.windows10.appxmanifest now includes:

      <Capabilities>
          <Capability Name="internetClient" />
          <uap:Capability Name="enterpriseAuthentication" />
          <Capability Name="privateNetworkClientServer" />
          <uap:Capability Name="sharedUserCertificates" />
      </Capabilities>
      

      4. cordova plugin rm cordova-plugin-capabities
      5. package.windows10.appxmanifest now actually includes:

      <Capabilities>
          <Capability Name="internetClient" />
          <uap:Capability Name="enterpriseAuthentication" />
          <uap:Capability Name="sharedUserCertificates" />
      </Capabilities>
      

      Expected:

      <Capabilities>
          <Capability Name="internetClient" />
      </Capabilities>
      

        Attachments

          Activity

            People

            • Assignee:
              vladimir.kotikov Vladimir Kotikov
              Reporter:
              daserge Sergey Shakhnazarov
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: