-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathplugin.xml
More file actions
50 lines (40 loc) · 1.66 KB
/
plugin.xml
File metadata and controls
50 lines (40 loc) · 1.66 KB
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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="com.jsmobile.plugins.sms" version="0.0.2" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>sms</name>
<description>A plugin for sending sms messages</description>
<license>Apache 2.0</license>
<keywords>cordova,plugins,sms</keywords>
<js-module name="sms" src="www/sms.js">
<clobbers target="window.sms" />
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="Sms">
<param name="android-package" value="com.jsmobile.plugins.sms.Sms" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.SEND_SMS" />
</config-file>
<source-file src="src/android/Sms.java"
target-dir="src/com/jsmobile/plugins/sms" />
</platform>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="Sms">
<param name="ios-package" value="Sms" />
</feature>
</config-file>
<source-file src="src/ios/Sms.h" />
<source-file src="src/ios/Sms.m" />
<framework src="MessageUI.framework" weak="true" />
</platform>
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="Sms">
<param name="wp-package" value="Sms" />
</feature>
</config-file>
<source-file src="src/wp8/Sms.cs" />
</platform>
</plugin>