Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19330] Android: Grouped Notification not working

GitHub Issuen/a
TypeBug
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelscloudpush, notification
ReporterCIS Dev 689
AssigneeUnknown
Created2015-07-27T13:18:53.000+0000
Updated2018-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

FileDateSize
DiagonisticLog.txt2015-08-07T04:51:34.000+0000542207
groupPush.png2015-08-07T04:50:36.000+000041777
log.txt2015-08-07T04:50:53.000+00004962
logcat.txt2015-09-08T06:45:03.000+0000521028
Screenshot_2015-07-27-18-44-50.png2015-07-27T13:18:37.000+0000194461
Screenshot_2015-07-27-18-44-57.png2015-07-27T13:18:41.000+00001513984

Comments

  1. Radamantis Torres-Lechuga 2015-07-27

    [~cisdev689] please attach a test case and full environment information
  2. CIS Dev 689 2015-07-28

    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)
  3. Dirlei Dionísio 2017-02-14

    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?
  4. Sharif AbuDarda 2017-02-14

    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.
       <property name="acs-grouped-notification-message-development" type="string">You have $number$ unread messages.</property>
       <property name="acs-grouped-notification-message-production" type="string">You have $number$ unread messages.</property>
       
    For farther analysis we need the sample code. Please provide that. Thanks.
  5. Dirlei Dionísio 2017-02-14

    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.
  6. Dirlei Dionísio 2017-02-20

    Hi @sdarda, Can you please share the source code you've made in order to have group messaging working?

JSON Source