forked from adapt-it/cordova-fonts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
37 lines (37 loc) · 1.49 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="org.adapt-it.cordova.fonts"
version="0.0.1"
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.adapt-it.cordova.fonts"/>
</feature>
</config-file>
<source-file src="src/android/fonts.java" target-dir="src/org/adapt-it/fonts" />
</platform>
</plugin>