4

Android removes my apps notifications when it creates more than 3 notifications.

This is not happening on all the phone, I can't even reproduce this on the emulator.

It is happening with my Moto G5S Plus running Android 7.1.1.

The error I am getting in the log is

NotificationService: Suppressing notification from package by user request.
Hemant Aggarwal
  • 849
  • 1
  • 7
  • 13
  • Probably it's some anti-spam feature in Moto Android skin. Why does your app need 3 notifications on the screen anyway? One notification per one app is enough, even GMail groups your unread mails into one big notification instead of creating three of them. – pelya Jun 13 '18 at 19:35
  • @pelya Actually, the app is a note taking app, that save notes in the notification tray. Also, a user can use notification actions to mark the tasks as complete, that is why I need multiple notifications for multiple notes. – Hemant Aggarwal Jun 14 '18 at 06:05
  • Well, you will need some UI redesigning. Most phones simply do not have enough vertical space to display more than 5 notifications, so you need one or two notifications which you can expand or shrink. Anything more, and your app will be treated like a push ad service. – pelya Jun 14 '18 at 14:58

1 Answers1

0

The mentioned error comes if the user has disabled notification of the particular application,

to check weather notifications are allowed or not refer to this link checking if notifications are enabled for specific package

Otherwise, you can manually enable notification of particular application from App Info settings

Amin Pinjari
  • 2,129
  • 3
  • 25
  • 53