54 lines
2.3 KiB
XML
54 lines
2.3 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<plugin
|
||
|
xmlns="http://www.phonegap.com/ns/plugins/1.0"
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
id="cordova-plugin-reply-to-notification"
|
||
|
version="0.0.1">
|
||
|
|
||
|
<name>cordova-plugin-reply-to-notification</name>
|
||
|
<description>Reply to notifications plugin for Cordova</description>
|
||
|
<license>Apache 2.0</license>
|
||
|
<keywords>notification, listener, android</keywords>
|
||
|
|
||
|
<repo>https://git.umycode.com/dave/cordova-plugin-reply-to-notification</repo>
|
||
|
<issue>https://git.umycode.com/dave/cordova-plugin-reply-to-notification/issues</issue>
|
||
|
|
||
|
<engines>
|
||
|
<engine name="cordova" version=">=3.1.0" />
|
||
|
</engines>
|
||
|
|
||
|
<js-module src="www/reply-to-notification.js" name="ReplyToNotification">
|
||
|
<clobbers target="replyToNotification" />
|
||
|
</js-module>
|
||
|
|
||
|
<platform name="android">
|
||
|
<config-file target="res/xml/config.xml" parent="/*">
|
||
|
<feature name="ReplyToNotification">
|
||
|
<param name="android-package" value="com.umycode.replyToNotification.NotificationCommands"/>
|
||
|
</feature>
|
||
|
</config-file>
|
||
|
|
||
|
<config-file target="AndroidManifest.xml" parent="/*">
|
||
|
<uses-permission android:name="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"/>
|
||
|
</config-file>
|
||
|
|
||
|
<config-file target="AndroidManifest.xml" parent="/manifest/application">
|
||
|
|
||
|
<service android:name="com.umycode.replyToNotification.NotificationService"
|
||
|
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" >
|
||
|
<intent-filter>
|
||
|
<action android:name="android.service.notification.NotificationListenerService" ></action>
|
||
|
</intent-filter>
|
||
|
</service>
|
||
|
|
||
|
</config-file>
|
||
|
|
||
|
<source-file src="src/android/NotificationService.java" target-dir="src/com/umycode/replyToNotification"/>
|
||
|
<source-file src="src/android/NotificationCommands.java" target-dir="src/com/umycode/replyToNotification"/>
|
||
|
<source-file src="src/android/Action.java" target-dir="src/com/umycode/replyToNotification"/>
|
||
|
<source-file src="src/android/RemoteInputParcel.java" target-dir="src/com/umycode/replyToNotification"/>
|
||
|
|
||
|
</platform>
|
||
|
|
||
|
</plugin>
|