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

Andriod :More than 2 notifications in status bar it is not works. #121

Closed
ramakrishna-nyros opened this Issue Sep 10, 2015 · 5 comments

Comments

Projects
None yet
2 participants
@ramakrishna-nyros

Hi, I am using phonegap build to my app,I used this plugin successfully to send push notification . When I send more than 2 notifications with different notId ,I get the notifications in phone status bar,when click on first notification it opens app and show in a page . But when click on 2nd notification it opens app & show in a page and close all the notification in status bar.

How to solve this issue ?

Thanks in advance

@macdonst

This comment has been minimized.

Show comment
Hide comment
@macdonst

macdonst Sep 10, 2015

Member

@ramakrishna-nyros set options.android.clearNotifications to false on init.

Member

macdonst commented Sep 10, 2015

@ramakrishna-nyros set options.android.clearNotifications to false on init.

@macdonst macdonst closed this Sep 10, 2015

@ramakrishna-nyros

This comment has been minimized.

Show comment
Hide comment
@ramakrishna-nyros

ramakrishna-nyros Sep 11, 2015

@macdonst Thanks for the reply, As you specified I used in init function like below:

onDeviceReady: function() {
var push = PushNotification.init({
"android": {
"senderID": "88812375449",
'options.android.clearNotifications' : false
},
"ios": {},
"windows": {}
});
But no change , Same issue.The above code is correct ?

@macdonst Thanks for the reply, As you specified I used in init function like below:

onDeviceReady: function() {
var push = PushNotification.init({
"android": {
"senderID": "88812375449",
'options.android.clearNotifications' : false
},
"ios": {},
"windows": {}
});
But no change , Same issue.The above code is correct ?

@macdonst

This comment has been minimized.

Show comment
Hide comment
@macdonst

macdonst Sep 13, 2015

Member

@ramakrishna-nyros No, it is not correct.

onDeviceReady: function() {
var push = PushNotification.init({
"android": {
"senderID": "88812375449",
"clearNotifications" : "false"
},
"ios": {}, 
"windows": {} 
});
Member

macdonst commented Sep 13, 2015

@ramakrishna-nyros No, it is not correct.

onDeviceReady: function() {
var push = PushNotification.init({
"android": {
"senderID": "88812375449",
"clearNotifications" : "false"
},
"ios": {}, 
"windows": {} 
});
@ramakrishna-nyros

This comment has been minimized.

Show comment
Hide comment
@ramakrishna-nyros

ramakrishna-nyros Sep 14, 2015

Thanks Macdonst , It's working now.

Thanks Macdonst , It's working now.

@lock

This comment has been minimized.

Show comment
Hide comment
@lock

lock bot Jun 5, 2018

This thread has been automatically locked.

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.