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:
25
plugin.xml
Normal file
25
plugin.xml
Normal 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>
|
||||
Reference in New Issue
Block a user