cordova-plugin-sms-receive
Version:
Cordova plugin to receive SMS in Android
40 lines (31 loc) • 1.28 kB
text/xml
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-sms-receive"
version="2.0.0">
<name>SMS Receive</name>
<description>Cordova plugin to receive SMS in Android</description>
<author>Andres Zsogon</author>
<license>MIT</license>
<keywords>sms,receive</keywords>
<engines>
<engine name="cordova" version=">=9.0.0"/>
<engine name="cordova-android" version=">=8.0.0"/>
</engines>
<js-module src="www/SMSReceive.js" name="SMSReceive">
<clobbers target="cordova.plugins.SMSReceive" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="SMSReceive">
<param name="android-package" value="com.andreszs.smsreceive.SMSReceive"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-feature android:name="android.hardware.telephony" android:required="false" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
</config-file>
<source-file src="src/android/SMSReceive.java" target-dir="src/com/andreszs/smsreceive" />
</platform>
</plugin>