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

Event for clicking on notification buttons #82

Open
deckameron opened this issue Jan 24, 2019 · 2 comments
Open

Event for clicking on notification buttons #82

deckameron opened this issue Jan 24, 2019 · 2 comments

Comments

@deckameron
Copy link

deckameron commented Jan 24, 2019

Hi @williamrijksen
Thank you for the module!

Is is possible to differentiate the notification click from a notification button click on Android?
I noticed that both, notification and notification buttons trigger the the same event (notificationOpened), so it is not possible to implement any particular behavior for the buttons. Am I right? Or am I missing something here?

I would like to prevent the App from opening and just perform a few data saving on the App.

Thanks!

@SilvioLuis
Copy link

I have the same doubt @williamrijksen

@deckameron
Copy link
Author

@SilvioLuis I have implemented it but can prevent the from opening because it requires a manifest tag and would prevent all notifications from opening the app.
If you want to check it out, here it is.

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

No branches or pull requests

2 participants