Merge pull request #8 from phalix/master

Android Manifest, Remove of unused Class. Issue #2,#4,and #5
This commit is contained in:
Javier Rengel Jiménez 2018-05-21 21:45:24 +02:00 committed by GitHub
commit a785d7e184
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

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>

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;