9
0
mirror of https://gitee.com/shuto/customCamera.git synced 2026-04-14 00:00:03 +08:00

Première tentative de mise en place pour que le js soit au moins reconnu comme un plugin.

This commit is contained in:
Christophe Boucaut
2014-11-04 13:19:27 +01:00
parent 65f7380332
commit 87428ce2b9
2 changed files with 27 additions and 2 deletions

25
plugin.xml Normal file
View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="org.geneanet.customCamera"
version="0.0.1"
>
<name>customCamera</name>
<description>customCamera by Geneanet</description>
<license>undefined</license>
<keywords>custom,camera,geneanet</keywords>
<js-module src="www/customCamera.js" name="customCamera">
<clobbers target="customCamera" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="CustomCamera">
<param name="android-package" value="org.geneanet.customCamera"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.CAMERA" />
</config-file>
</platform>
</plugin>