Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
#616 Use single proxy for both windows8 and windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Kotikov committed Apr 8, 2015
1 parent aa80367 commit eabae9e
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -291,14 +291,33 @@
</platform>

<platform name="windows8">
<js-module src="src/windows8/BarcodeScannerProxy.js" name="BarcodeScannerProxy">
<js-module src="src/windows/BarcodeScannerProxy.js" name="BarcodeScannerProxy">
<merges target="" />
</js-module>
<config-file target="package.appxmanifest" parent="/Package/Capabilities">
<DeviceCapability Name="webcam" />
</config-file>
<framework src="src/windows8/lib/ZXing.winmd" custom="true" />
<framework src="src/windows8/lib/WinRTBarcodeReader.winmd" custom="true" />
<framework src="src/windows/lib/ZXing.winmd" custom="true" />
<framework src="src/windows/lib/WinRTBarcodeReader.winmd" custom="true" />
</platform>

<platform name="windows">
<js-module src="src/windows/BarcodeScannerProxy.js" name="BarcodeScannerProxy">
<merges target="" />
</js-module>

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

<framework src="src/windows/lib/ZXing.winmd" custom="true" />
<framework src="src/windows/lib/WinRTBarcodeReader.winmd" custom="true" />
</platform>

<!-- Windows Phone 8 -->
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit eabae9e

Please sign in to comment.