[TIMOB-19330] Android: Grouped Notification not working
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Android |
| Labels | cloudpush, notification |
| Reporter | CIS Dev 689 |
| Assignee | Unknown |
| Created | 2015-07-27T13:18:53.000+0000 |
| Updated | 2018-02-28T19:55:39.000+0000 |
Description
I am not able to get grouped notification in my app, I have added following line in my tiapp.xml but it made no changes in notification tray of mobile(means not grouping notification into 1 notification).
You have $number$ unread messages.
Attachments
| File | Date | Size |
|---|---|---|
| DiagonisticLog.txt | 2015-08-07T04:51:34.000+0000 | 542207 |
| groupPush.png | 2015-08-07T04:50:36.000+0000 | 41777 |
| log.txt | 2015-08-07T04:50:53.000+0000 | 4962 |
| logcat.txt | 2015-09-08T06:45:03.000+0000 | 521028 |
| Screenshot_2015-07-27-18-44-50.png | 2015-07-27T13:18:37.000+0000 | 194461 |
| Screenshot_2015-07-27-18-44-57.png | 2015-07-27T13:18:41.000+0000 | 1513984 |
[~cisdev689] please attach a test case and full environment information
I am getting notification in my device but when I followed Grouped Notification part of http://docs.appcelerator.com/platform/latest/#!/api/Modules.CloudPush doc I am not able to receive notification into 1 group. (Let me know what other test case you want me to attach)
I have the same issue with Ti SDK 6.0.1 and a device with Android 6.0. @CIS Dev 689 have you found any solution?
Hello, I checked the issue in Android 6.0.1 device Galaxy J7 with SDK 6.0.1. The group messaging is working fine. Please set the below lines in tiapp.xml. For multiple push message I got "You have $number$ unread messages" in notification tray.
For farther analysis we need the sample code. Please provide that. Thanks.Hi @sdarda, Here is the test case. [link tiapp.xml](https://gist.github.com/DirleiDionisio/f2b415a5d7d7f0fb0596e2e7f137b0f0) [link app.js](https://gist.github.com/DirleiDionisio/1df92b027d3da1f0c9edf3ae58a1767b) I sent notifications using Appc dashboard: [link Notification 1](https://www.dropbox.com/s/qkredfxslysgn72/notification1.png?dl=0) [link Notification 2](https://www.dropbox.com/s/3k53q5q7xb7fdwu/notification2.png?dl=0) The result is: [link Screenshot](https://www.dropbox.com/s/k7mq0f87dn9df5d/result.jpg?dl=0) I've tested on Moto G4+ running Android 6.0.1 and on Nexus S running Android 4.1. I had same result in both.
Hi @sdarda, Can you please share the source code you've made in order to have group messaging working?