Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide notification onTap, onDismissed callbacks #207

Open
smjxpro opened this issue Jun 1, 2024 · 5 comments
Open

Provide notification onTap, onDismissed callbacks #207

smjxpro opened this issue Jun 1, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@smjxpro
Copy link

smjxpro commented Jun 1, 2024

Is your feature request related to a problem? Please describe.
I was trying to create a reminder app. But couldn't register onTap, onDismissed callbacks.

Describe the solution you'd like
Provide those callbacks on Alarm.init() or in Alarm.set() methods as parameters.

Describe alternatives you've considered
Tried leveraging the ringStream but doesn't work.

Additional context
My app requires something to do other than just dismiss the notification and or open the notification.

@smjxpro smjxpro added the enhancement New feature or request label Jun 1, 2024
@gdelataillade
Copy link
Owner

Hi @smjxpro

The notification onTap and onDismiss callbacks would be great features to add. Unfortunately, I’m currently the only developer on this plugin and have other priorities, but I will add it to my to-do list. Contributions are welcome if you’re interested.

@hafidzaini
Copy link

this is what im waiting for for next release 😄

@gdelataillade
Copy link
Owner

This is not in WIP at the moment but in the next release you will probably (if everything goes right) have notification action buttons (stop & snooze) !

@hafidzaini
Copy link

perfet.
thank you very much.

i wish i know dart and git better so i could help and do pull request 😂

@gdelataillade
Copy link
Owner

About the onTap callback, I was working on it but faced a technical limitation on Android. If someone with Kotlin experience could help me this PR #275 it would be great !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants