Adds macOS support

This commit is contained in:
José Expósito
2017-10-10 17:11:10 +02:00
parent b2107e0818
commit 97d2014d62
6 changed files with 3049 additions and 8 deletions
+18 -1
View File
@@ -280,6 +280,23 @@
</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>