Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

onNotification method called only when the notification is opened #373

Closed
lbaiao opened this issue Feb 22, 2017 · 4 comments
Closed

onNotification method called only when the notification is opened #373

lbaiao opened this issue Feb 22, 2017 · 4 comments
Labels

Comments

@lbaiao
Copy link

lbaiao commented Feb 22, 2017

When I try to use the onNotification method, its callback function is called only when the notification is opened. I would like to execute the callback when the notification is received. How can I do it?

@npomfret
Copy link
Contributor

I think it depends on the type of notification you send. Have a look at the trouble shooting guide, specifically the bit about "silent" notifications.

@nonameolsson
Copy link

@lbaiao
Did you solve this? I need to run some actions on onNotification for local notifications. But it's not triggered if I don't press it.

@nonameolsson
Copy link

Hi! I have the issue as @lbaiao , please check my last comment in #170

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

3 participants