-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathplugin.xml
34 lines (26 loc) · 1.1 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
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="cordova-sms-reader"
version="0.0.3">
<name>SMSReader</name>
<engines>
<engine name="cordova" version=">=3.4.0"/>
</engines>
<js-module src="www/smsreader.js" name="smsreader">
<clobbers target="smsreader" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="SMSReader">
<param name="android-package" value="io.github.rajeevs1992.smsreader.SMSReader"/>
</feature>
</config-file>
<source-file src="src/android/SMSReader.java" target-dir="src/io/github/rajeevs1992/smsreader"/>
<source-file src="src/android/SMS.java" target-dir="src/io/github/rajeevs1992/smsreader"/>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.READ_SMS" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.SEND_SMS" />
</config-file>
</platform>
</plugin>