thudugala / thudugala/Plugin.LocalNotification
Action buttons has no effect if app is closed
@thudugala is already working on this.
Since Jun 11, 2023.
- Dominant language
- C#
- Stars
- 474
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
If I receive a notification either with the app open or closed, if I then close the application, the action button presses I make are ignored and the notification will simply just stay in the notification tray with no action taken.
If the app is then opened, the notification will now work and clicking the action button will dismiss the notification and run the code that it should.
To Reproduce
Steps to reproduce the behavior:
- Trigger a notification in Android with an action button
- Release it in "Release" mode so that the application can be fully closed
- Click the action button and notice how nothing happens
- Open back up the app to confirm that it does indeed work as long as the app is not closed
Expected behavior
I was expecting the action buttons to behave equally when the app is open vs closed
Screenshots
I'll gladly do if my description don't suffice
Platform (please complete the following information):
- OS: Android
- Version OxygenOS 11.1.2.2
Smartphone (please complete the following information):
- Device: OnePlus 6t and Samsung tablet Galaxy Tab S5e
- OS: OxygenOS
- Version: 11.1.2.2
Additional context
I have minimum code to generate the notification and action buttons, and I have scheduled the notifications if that makes any difference.
Also, no intentflags were set, as I'm unsure of what exactly those does (maybe related?)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.