This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Process notifications in background #398
Comments
There's two things involved here:
You can always give your input on these options or simply +1 them so @macdonst knows what to prioritize. |
Thanks for the fast answer! I'll definitely take a look at these issues and PRs. |
This thread has been automatically locked. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'd like to process some notifications in my app even if the user didn't click on it to open my app.
The
.on('notification')
works, but I only get the payload when either :Why doesn't the plugin execute
PushPlugin.sendExtras(extras);
on every message received (at least on the Android version) ?Wouldn't it be better to send the payload to the app, show a notification and call a second
.on('notification')
when the user actually opens the notification ?That way we could send push-to-sync requests.
Or am I missing something ?
The text was updated successfully, but these errors were encountered: