Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

how to work in background ? #249

Closed
Jinjos opened this issue Oct 20, 2015 · 4 comments
Closed

how to work in background ? #249

Jinjos opened this issue Oct 20, 2015 · 4 comments

Comments

@Jinjos
Copy link

Jinjos commented Oct 20, 2015

Hello,

I built an android (cordova) app,
I am trying to handle an event of notification in the background, when user didn't click the notification message,
For some reason, data is not received until user clicks the notification.
not even when user is online.

The only way I can get to use notification in the background without user clicks on the notification is if I send a json without the notification structure(without message and title but only regular data).
Since I doubt the way to send it would be to send push twice - one for data and one for notification, I guess there's another way ...

I didn't find anywhere to handle this kind of event, could you please help understanding with handler do I need to put ?

Thank you

@fredgalvao
Copy link
Collaborator

You're probably looking for the feature described in #93, which unfortunately isn't available yet. The proposal is there, and in a few other related issues, so you can always +1 them so that @macdonst knows what to prioritize on future releases.

If that's indeed the case, and this is a duplicate of #93 and it's related issues, please close this issue.

@manikumarkv
Copy link

+1

@macdonst
Copy link
Member

Dupe of #93 which I've started working on.

@lock
Copy link

lock bot commented Jun 5, 2018

This thread has been automatically locked.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

4 participants