Troubleshoot android notification.

pub package Language

Sponsored by Evrone

Developed for

Launch vendor-specific Activity for fix autostart, power-saving and notification settings. More...

For android used library

Troubleshoot platforms:

  • Android

If you need any functionality on another platform, create an issue

Getting Started

You can get a list of action:

final List<NotificationTroubleshootActions> availableActions = await NotificationTroubleshoot.availableActions;

Show all available actions in your application and let the user run that action:


Target of plugin

When using push-Notification, there is often a problem that notifications do not work on some android devices. This is often due to custom services that the manufacturer added to the android firmware. For example, power saving, blocking push notifications, banning autorun, and so on.

Some applications solve this problem by creating a troubleshooting guide, such as the one posted by Slack

However android devices there is an appKillerManager library, which can open system settings on different vendors, where the user must allow the application to run in the background or mark the application as an exception in power saving.

When we use this package, we can create the "problems with notifications" item in the UI for the android app version and show the user a list of actions that he should do, for example, make buttons:

  • "Allow the application to use autorun"
  • "Remove background activity restrictions"
  • other

Now the plugin solves problems on Andoid devices, if similar problems are found on other devices platforms (web/Desktop), please create an issue