-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
Push Notification Does Not Alert When Meteor App Is Active #12
Comments
Push.addListener('message', function(msg) {}); will fire when the app is open - msg is still dependent on platform - I would rather like a uniform consistent behaviour. Push.addListener('startup', function(msg) {}); will fire if app is opened via a click on notification. So I've been using different techniques to do this in some of the production apps we've made - but I would like the api to be unified. |
Sorry, I'm not certain how to use the listeners to enable notifications while active on the app. Could you please shed some light on this? I added the listener for messages and startup and they trigger properly based on the event, but the parameter passed in seems to be empty. Thanks |
BTW: Notifications (alerts) for iOS also not work. |
@ndevr Do you mean when the app is open? They aren't supposed to. Are the listeners not working? I haven't tested them yet - will be there later this week though. |
@dennisharrison Yes, when die app is open. There are no listeners registered. I thought there are pre-registered some. |
use this
|
Hi Morten,
I finally got the bar notification working for Android. However, I notice that when I am on the Meteor app the notification does not trigger until I am on a different app or the phone is locked.
Is this an intended behavior?
The text was updated successfully, but these errors were encountered: