-
Notifications
You must be signed in to change notification settings - Fork 6
/
plugin.xml
70 lines (70 loc) · 2.69 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-fonts"
version="0.6.5"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:rim="http://www.blackberry.com/ns/widgets"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>Fonts</name>
<description>Cordova Fonts Plugin</description>
<author>Erik Brommers</author>
<license>Apache 2.0 License</license>
<keywords>cordova,fonts</keywords>
<repo>https://github.com/adapt-it/cordova-fonts.git</repo>
<issue>https://github.com/adapt-it/cordova-fonts/issues</issue>
<!-- expose our API under navigator.Fonts -->
<js-module name="fonts" src="www/fonts.js">
<clobbers target="navigator.Fonts" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Fonts">
<param name="ios-package" value="CDVFonts"/>
</feature>
</config-file>
<header-file src="src/ios/CDVFonts.h" />
<source-file src="src/ios/CDVFonts.m" />
</platform>
<!-- android -->
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="Fonts">
<param name="android-package" value="org.adaptit.cordova.fonts.Fonts"/>
</feature>
</config-file>
<source-file src="src/android/Fonts.java" target-dir="src/org/adaptit/cordova/Fonts" />
</platform>
<!-- Amazon Fire (just reusing Android) -->
<platform name="amazon-fireos">
<config-file target="config.xml" parent="/*">
<feature name="Fonts">
<param name="android-package" value="org.adaptit.cordova.fonts.Fonts"/>
</feature>
</config-file>
<source-file src="src/android/Fonts.java" target-dir="src/org/adaptit/cordova/Fonts" />
</platform>
<!-- firefoxos -->
<platform name="firefoxos">
<js-module src="src/firefoxos/FontsProxy.js" name="FontsProxy">
<runs />
</js-module>
</platform>
<!-- wp8 -->
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="Fonts">
<param name="wp-package" value="Fonts"/>
</feature>
</config-file>
<source-file src="src/wp/Fonts.cs" />
</platform>
<!-- windows (UWP) -->
<platform name="windows">
<config-file target="config.xml" parent="/*">
<feature name="Fonts">
<param name="wp-package" value="Fonts"/>
</feature>
</config-file>
<source-file src="src/wp/Fonts.cs" />
</platform>
</plugin>