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

Receiving a notification "outside app" while in it? #213

Closed
marcus-chr opened this issue Oct 8, 2015 · 7 comments
Closed

Receiving a notification "outside app" while in it? #213

marcus-chr opened this issue Oct 8, 2015 · 7 comments

Comments

@marcus-chr
Copy link

Is it possible to implement a function that always handles the notification "outside" the app even if the user is currently using it? Clicking on the notification could re-open the app and then call on event "notification".

As far as I know this needs to be handled with native code and cannot be implemented "backend".

@ajinkyamarathe
Copy link

Yes i have similar problem. please help.....

@macdonst
Copy link
Member

macdonst commented Oct 8, 2015

@marcus-chr Are you talking about what is described in Issue #93? If so please close this issue and add you comments to that issue.

@marcus-chr
Copy link
Author

@macdonst No, I don't think it's the same. This issue is about having the same "process" of receiving push notifications whether or not it is in background or foreground mode. Today it works like this:

Background:

  1. Push shown in a banner/alert etc
  2. User taps on notification
  3. App starts
  4. Event 'notification' is run

Foreground (user has the app opened):

  1. Event 'notification' is run

I would like the foreground mode to work as the background. Maybe it doesn't necessarily need to re-open the app but at least do step 1,2 and 4 (instead of only 4). Let me know if this was clear or not :-)

@macdonst
Copy link
Member

macdonst commented Oct 9, 2015

@marcus-chr so this #178 which has been merged and will be in the next release.

@marcus-chr
Copy link
Author

Oh, I'm sorry. Should I close this issue now then?

@macdonst
Copy link
Member

macdonst commented Oct 9, 2015

Yup

@macdonst macdonst closed this as completed Oct 9, 2015
@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

3 participants