forked from felixhusen/cordova-ml-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
executable file
·45 lines (40 loc) · 1.87 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-ml-kit" version="0.0.1">
<name>Cordova ML Kit</name>
<description></description>
<license>MIT</license>
<keywords></keywords>
<!-- android -->
<platform name="android">
<js-module src="www/plugin.js" name="plugin">
<clobbers target="MlKitPlugin" />
</js-module>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="MlKitPlugin">
<param name="android-package" value="hr.antoniostipic.MlKitPlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<meta-data android:name="com.google.firebase.ml.vision.DEPENDENCIES" android:value="label" />
<meta-data android:name="com.google.firebase.ml.vision.DEPENDENCIES" android:value="ocr" />
</config-file>
<framework src="com.google.firebase:firebase-ml-vision:24.0.3" />
<framework src="com.google.firebase:firebase-ml-vision-image-label-model:20.0.1" />
<framework src="com.google.guava:guava:27.0.1-android" />
<source-file src="src/android/hr/antoniostipic/MlKitPlugin.java" target-dir="src/hr/antoniostipic" />
</platform>
<!-- ios -->
<!-- <platform name="ios">
<js-module src="www/plugin.js" name="plugin">
<clobbers target="MlKitPlugin" />
</js-module>
<config-file target="config.xml" parent="/*">
<feature name="MlKitPlugin">
<param name="ios-package" value="MlKitPlugin" onload="true" />
</feature>
</config-file>
<header-file src="src/ios/MlKitPlugin.h" />
<source-file src="src/ios/MlKitPlugin.m" />
</platform> -->
</plugin>