forked from asanka-x/Phonegap-SMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
31 lines (29 loc) · 1.46 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
<?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="info.asankan.phonegap.smsplugin"
version="0.2.0">
<name>SMSPlugin</name>
<description>Cordova SMS Plugin to Send and Receive SMS</description>
<license>MIT</license>
<keywords>cordova,sms</keywords>
<repo>https://github.com/asanka-x/Phonegap-SMS.git</repo>
<js-module src="www/smsplugin.js" name="smsplugin">
<clobbers target="smsplugin" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="SmsPlugin">
<param name="android-package" value="info.asankan.phonegap.smsplugin.SmsPlugin" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
</config-file>
<source-file src="src/android/info/asankan/phonegap/smsplugin/SmsPlugin.java" target-dir="src/info/asankan/phonegap/smsplugin"/>
<source-file src="src/android/info/asankan/phonegap/smsplugin/SmsReceiver.java" target-dir="src/info/asankan/phonegap/smsplugin"/>
<source-file src="src/android/info/asankan/phonegap/smsplugin/SmsSender.java" target-dir="src/info/asankan/phonegap/smsplugin"/>
</platform>
</plugin>