Sergey Shakhnazarov created CB-12124:
----------------------------------------

             Summary: DeviceCapability not added to windows10 manifest on 
plugin add
                 Key: CB-12124
                 URL: https://issues.apache.org/jira/browse/CB-12124
             Project: Apache Cordova
          Issue Type: Bug
          Components: Windows
    Affects Versions: 4.4.3
            Reporter: Sergey Shakhnazarov


{{cordova create test && cd test}}
{{cordova platform add [email protected]}}
{{cordova plugin add phonegap-plugin-barcodescanner}}
{{type platforms\windows\package.windows10.appxmanifest}}
{code}
    <Capabilities>
        <Capability Name="internetClient" />
    </Capabilities>
{code}
{{type platforms\windows\package.windows.appxmanifest}}
{code}
    <Capabilities>
        <Capability Name="internetClient" />
        <DeviceCapability Name="webcam" />
    </Capabilities>
{code}

plugin.xml:
{code}
    <config-file target="package.appxmanifest" parent="/Package/Capabilities">
      <DeviceCapability Name="webcam"/>
</config-file>
{code}

The issue does not reproduce in [email protected]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to