Closed guyluz11 closed 4 months ago
This issue was automatically closed due inactivity, but can be reopened at any time.
Should not get closed
It is automatically closed if no one sent new answers, but i will reopen it.
This is an normal behavior on Android. If you had received an push notification and open the app through it, the app will be initiated using this "intent". If you close the app and reopen it using the task list, it will use the same intent as before. So, it will looks like you're open the app again tapping over the notification.
This issue was automatically closed due inactivity, but can be reopened at any time.
.
This issue was automatically closed due inactivity, but can be reopened at any time.
.
This issue was automatically closed due inactivity, but can be reopened at any time.
Rules
To report a bug and help us to provide the solution as fast as possible, please follow the instructions below:
1 - Describe the bug
A clear and concise description of what the bug is.
OBS: avoid using the expression "it's not working" or "is working" or any other variation. These expressions can mean anything but don´t bring any useful information. As soon you rewrite these expressions, you are naturally going to be more precise and clear.
After snoozing the notification using a snooze button on the notification and after that opening the app from the app icon the command
AwesomeNotifications().getInitialNotificationAction(removeFromActionEvents: true)
does not return null. Since the notification does not exist in the notification area and the app got opened from the app icon the expected result ofAwesomeNotifications().getInitialNotificationAction(removeFromActionEvents: true)
is to be null. Instead it returns the last action recorded - the snooze action.2 - Provide us as much information as possible
To help us to understand your issue, provide with your bug report all the relevant informations, such as:
Your plugins list inside the file
pubspec.yaml
(at least all notification plugins) Notification plugins only containsawesome_notifications: ^0.7.5-dev.3
andawesome_notifications_fcm: ^0.7.5-dev.3
. No nonawesome_notifications
notification plugin is in useWhat platform did you found the issue Android
What devices did you found the issue Android emulator and more devices
How are you initializing the plugin
How are you creating the notification The problem is not with creating notification so not relevant I think.
The output of
flutter doctor
command• No issues found!
3 - How To Reproduce the Error
Steps to reproduce the behavior:
...or if you prefer, you can provide us a simple example app on GitHub with the issue already reproduced instead of the steps 2 and 3.
4 - Expected behavior
When app is getting opened from the icon and not from notification action button the line
AwesomeNotifications().getInitialNotificationAction(removeFromActionEvents: true)
will return null5 - Screenshots
If applicable, add screenshots to help explain your problem.
6 - Additional context
Add any other context about the problem here.
Tested on version
awesome_notifications: ^0.7.5-dev.3
and alsoawesome_notifications: ^0.7.4+1