I’m currently using ionicPush in my app, but i’m not able to receive multiple notifications.
ie:
I receive notification A, it’s display in my notification center
I receive notification B later, it replace notification A.
I would like to have notification A & B at the same time.
I’ve seen that cordova-plugin-push have a ‘stacking’ option, but i can’t make it to work.
The ionic documentation http://docs.ionic.io/docs/push-usage, refers to Phonegap push plugin for further options on how push notifications are displayed.
You can find the details here.
However I am not quite sure how this interacts with ionicPush service.
I managed to have the Stacking working by using the argument notID, with the following code:
"notification": { "alert":"Hello World!" "android":{ "notID": i, } }
with i as an incremental value.
But I did not succeed to make the inbox stacking work.
Thank for your contribution.
I’ve tried with notID in my POST request to ionic push API, but unfortunatly, it doesn’t work
ie: i use a random number for ‘notID’ value, is it the problem ?