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

DeviceCapability not added to windows10 manifest on plugin add

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.4.3
    • None
    • cordova-windows
    • None

    Description

      cordova create test && cd test
      cordova platform add windows@4.4.3
      cordova plugin add phonegap-plugin-barcodescanner
      type platforms\windows\package.windows10.appxmanifest

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

      type platforms\windows\package.windows.appxmanifest

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

      plugin.xml:

          <config-file target="package.appxmanifest" parent="/Package/Capabilities">
            <DeviceCapability Name="webcam"/>
      </config-file>
      

      The issue does not reproduce in cordova-windows@4.4.2

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              daserge Sergey Shakhnazarov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: