This commit is contained in:
Sebastian Bittmann 2018-05-21 01:53:52 +02:00
parent dd5718aa64
commit 4e6a785eb7
4 changed files with 7 additions and 5 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -3,7 +3,7 @@
xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="net.coconauts.notification-listener"
version="0.0.1">
version="0.0.2">
<name>Notification-listener</name>
<description>Notification listener Plugin for Android</description>
@ -28,13 +28,16 @@
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<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="net.coconauts.notificationListener.NotificationService"
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" >
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" >
<intent-filter>
<action android:name="android.service.notification.NotificationListenerService" ></action>
<action android:name="android.service.notification.NotificationListenerService" ></action>
</intent-filter>
</service>

BIN
src/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -8,7 +8,6 @@ import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.service.notification.NotificationListenerService;
import android.service.notification.StatusBarNotification;
import android.support.v4.app.NotificationCompat;
import android.util.Log;
import java.util.ArrayList;