jiusanzhou / flutter_notification_listener

Flutter plugin to listen for and interact with all incoming notifications for Android. 一个监听手机通知的插件。
https://pub.dev/packages/flutter_notification_listener
Other
37 stars 43 forks source link

App is unlisted from notification access permission settings #30

Open mecharan14 opened 1 year ago

mecharan14 commented 1 year ago

After few hours or minutes after getting terminated, the app is unlisted from the notification access permission settings and the permission is revoked so service can't read the notifications when started again. I have added necessary permission in the manifest file, still don't know what is the issue.

App has to uninstalled and installed everytime to get the permission. `

<service android:name="im.zoe.labs.flutter_notification_listener.NotificationsHandlerService" android:label="Myapp" android:exported="true" android:enabled="true" android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">

`

Matsuo32 commented 1 year ago

same me.

Devsider commented 1 year ago

Same Problem here

jiusanzhou commented 1 year ago

hi sorry for the late reply. Can you guys offer more information about your android version and vendor?

Matsuo32 commented 1 year ago

hi sorry for the late reply. Can you guys offer more information about your android version and vendor?

Test on Android version 13. Mi 11

Devsider commented 1 year ago

Android 13, Oneui 5.1 Samsung S20 FE

s4rath commented 1 year ago

same problem

Devsider commented 1 year ago

Any updates?

DelayStepback commented 2 months ago

Any updates?

siunus commented 1 week ago

Any solution for this issue?