Troubleshoot android notification.
Developed for Evrone.com
Launch vendor-specific Activity for fix autostart, power-saving and notification settings. More...
For android used https://github.com/thelittlefireman/AppKillerManager library
If you need any functionality on another platform, create an issue
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
https://github.com/thelittlefireman/AppKillerManager, 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"
Now the plugin solves problems on Andoid devices, if similar problems are found on other devices platforms (web/Desktop), please create an issue