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

Is it possible to use Notifee's notification trigger to send out a silent notification on iOS/Android? #1136

Open
Immacio opened this issue Nov 1, 2024 · 2 comments

Comments

@Immacio
Copy link

Immacio commented Nov 1, 2024

Exact scenario I have in mind is:

  1. Create a notification trigger that is silent/invisible (no notification is displayed or shown to the user but the app is woken up)
  2. Catch that notification somehow with Notifee's onBackgroundEvent handler and cancel the silent notification
  3. Re-display my own notification after fetching data from some API.

I basically want to have personalized notifications for the user at a certain time, without having to create a new Firebase service that sends these pushes out to users.

@mikehardy
Copy link
Contributor

Unknown - never investigated if there is ability to execute logic between timed firing of scheduled notification and posting of notification. Seems like it should be possible with a notification extension helper on iOS and usage of WorkManager on Android, just never tried this as a use case. I think you'll be a first attempt / test user on it and will have to investigate and report

Copy link

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

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

No branches or pull requests

2 participants