Skip to content

Commit

Permalink
Revert "chore: remove windows/osx from plugin.xml (apache#850)"
Browse files Browse the repository at this point in the history
This reverts commit 0796f78.
  • Loading branch information
bniciakhexagon committed Oct 4, 2023
1 parent a998bff commit 1a62a58
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,36 @@
</js-module>
</platform>

<!-- windows -->
<platform name="windows">
<config-file target="package.appxmanifest" parent="/Package/Capabilities">
<DeviceCapability Name="webcam" />
</config-file>
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
<clobbers target="CameraPopoverHandle" />
</js-module>
<js-module src="src/windows/CameraProxy.js" name="CameraProxy">
<runs />
</js-module>
</platform>

<!-- osx -->
<platform name="osx">
<config-file target="config.xml" parent="/*">
<feature name="Camera">
<param name="osx-package" value="CDVCamera"/>
</feature>
</config-file>

<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
<clobbers target="CameraPopoverHandle" />
</js-module>

<header-file src="src/osx/CDVCamera.h" />
<source-file src="src/osx/CDVCamera.m" />

<framework src="Quartz.framework" />
<framework src="AppKit.framework" />
</platform>

</plugin>

0 comments on commit 1a62a58

Please sign in to comment.