{ "id": "153482", "key": "TIMOB-20126", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "19957", "description": "", "name": "Release 7.1.0", "archived": false, "released": true, "releaseDate": "2018-03-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-02-05T20:49:10.000+0000", "created": "2015-11-30T07:24:21.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "pushnotification", "ti.cloudpush" ], "versions": [], "issuelinks": [ { "id": "50248", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "153358", "key": "TIMOB-20066", "fields": { "summary": "Android: Add support for style in Titanium.Android.Notification", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-05-26T12:04:53.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "I am not able to see the push notification in the multiline format on the android device. I have used the same payload structure that is defined in the documentation [http://docs.appcelerator.com/platform/latest/#!/guide/Subscribing_to_push_notifications-section-37551717_Subscribingtopushnotifications-Parsinganotificationpayload]\r\n\r\n {\r\n \"android\": {\r\n \"title\": \"myApp\",\r\n \"alert\": \"Here, I want to send the multiline push notification messages to the user for the \\n details reports.\",\r\n \"icon\": \"little_star\",\r\n \"badge\": 3,\r\n \"sound\": \"door_bell\",\r\n \"vibrate\": true,\r\n },\r\n}", "attachment": [ { "id": "57625", "filename": "Screenshot_2015-11-30-12-46-58.png", "author": { "name": "rpeshwe", "key": "rpeshwe", "displayName": "Rohan Peshwe", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-11-30T07:23:28.000+0000", "size": 715167, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Not able to see the multiline notification on the android device", "creator": { "name": "rpeshwe", "key": "rpeshwe", "displayName": "Rohan Peshwe", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "rpeshwe", "key": "rpeshwe", "displayName": "Rohan Peshwe", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Node v0.10.37\r\nCLI Version = 5.0.5\r\nTitanium SDKs = 5.0.2.GA\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.10.5\r\nAlloy = 1.7.13\r\nAppcelerator CLI\r\n Installer = 4.2.0\r\n Core Package = 5.0.2", "closedSprints": [ { "id": 565, "state": "closed", "name": "2016 Sprint 2 SDK", "startDate": "2016-01-16T01:30:40.264Z", "endDate": "2016-01-30T01:30:00.000Z", "completeDate": "2016-01-31T01:27:07.537Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "371647", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~rpeshwe], Appcelerator doesn't have support for multiline push notification. This could be a new feature. Most of the applications at the market doesn't have the feature in them. But Android has a process to [add multiline push notification|http://tips.androidhive.info/2015/04/android-showing-push-notification-in-multiline/] feature. To use the feature in Appcelerator you need to build a custom module for that. See the [doc|http://docs.appcelerator.com/platform/latest/#!/guide/Android_Module_Development_Guide] link. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-11-30T09:10:52.000+0000", "updated": "2015-11-30T09:10:52.000+0000" }, { "id": "374142", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "To do this, you would need http://developer.android.com/intl/ru/reference/android/app/Notification.BigTextStyle.html.\r\n\r\nThis ticket is a new feature request and this has been resolved with this ticket TIMOB-20066. Resolving this as duplicate as it has been addressed. ", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-01-11T02:35:24.000+0000", "updated": "2016-01-11T02:35:24.000+0000" }, { "id": "395018", "author": { "name": "appsol", "key": "appsol", "displayName": "Muhammad Qasim", "active": true, "timeZone": "Asia/Karachi" }, "body": "\r\n@Sharif AbuDarda {quote}Most of the applications at the market doesn't have the feature in them.{quote}\r\n\r\nI think this feature is included in almost all apps now. Its supported since Android 4.1 or 4.2.", "updateAuthor": { "name": "appsol", "key": "appsol", "displayName": "Muhammad Qasim", "active": true, "timeZone": "Asia/Karachi" }, "created": "2016-09-01T07:42:07.000+0000", "updated": "2016-09-01T07:42:07.000+0000" }, { "id": "395083", "author": { "name": "rpeshwe", "key": "rpeshwe", "displayName": "Rohan Peshwe", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Hi,\r\nI have tried the multiline notification on android device after creating build using titanium sdk 5.4.0.GA\r\nStill facing the issue while sending multiline notification from GCM server on an Android device.\r\nFound that the *TIMOB-20066* issue is related to the *local notification* while I am trying to send the notification from the *server.*\r\nCan you please check the multiline notification for notification getting from *server.*\r\nAs *TIMOB-20066* ticket is for local notification.", "updateAuthor": { "name": "rpeshwe", "key": "rpeshwe", "displayName": "Rohan Peshwe", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2016-09-01T12:03:35.000+0000", "updated": "2016-09-01T12:03:35.000+0000" }, { "id": "395158", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Ticket reopened to investigate multiline notification for notifications from servers.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-09-02T02:36:07.000+0000", "updated": "2016-09-02T02:36:07.000+0000" }, { "id": "396480", "author": { "name": "appsol", "key": "appsol", "displayName": "Muhammad Qasim", "active": true, "timeZone": "Asia/Karachi" }, "body": "Are there any plans to support the BigTextViewStyle in ti.cloudpush? This is a very common and useful feature now and should be implemented without asking!", "updateAuthor": { "name": "appsol", "key": "appsol", "displayName": "Muhammad Qasim", "active": true, "timeZone": "Asia/Karachi" }, "created": "2016-09-19T07:23:56.000+0000", "updated": "2016-09-19T07:23:56.000+0000" }, { "id": "419463", "author": { "name": "pravin.bhapkar", "key": "pravin.bhapkar", "displayName": "Pravin", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi, Is it resolved in new SDK ? 6.0.3 ? I have tested on SDK 6.0.0 but issue is still there.\r\n\r\nDo we have any solution for this ?\r\n\r\nRegards,\r\nPravin ", "updateAuthor": { "name": "pravin.bhapkar", "key": "pravin.bhapkar", "displayName": "Pravin", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-10T12:55:52.000+0000", "updated": "2017-05-10T12:56:12.000+0000" }, { "id": "423455", "author": { "name": "vsantana", "key": "vsantana", "displayName": "Valmir Santana", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Hi! There is any solution to this issue?", "updateAuthor": { "name": "vsantana", "key": "vsantana", "displayName": "Valmir Santana", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2017-07-04T16:36:50.000+0000", "updated": "2017-07-04T16:36:50.000+0000" }, { "id": "427038", "author": { "name": "dirleidionisio", "key": "dirleidionisio", "displayName": "Dirlei Dionísio", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Hi guys, multiline notifications exists since Android 4.1. We now are on Android 8. Is there any plan to support this feature on ti.cloudpush? Not having this feature nowadays is a big disadvantage for those using ArrowDB.\r\n\r\nThis issue is marked as duplicated but it's a mistake. #TIMOB-20066 is about Local Notifications but the requested feature here is about Remote Notifications.\r\n\r\nIt would be very appreciated if we could use this so common feature on Android through Appcelerator/Axway services.", "updateAuthor": { "name": "dirleidionisio", "key": "dirleidionisio", "displayName": "Dirlei Dionísio", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2017-08-22T15:31:49.000+0000", "updated": "2017-08-22T15:31:49.000+0000" }, { "id": "429179", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Let's talk about it! If this is an Android issue, we should be able to fix this in the SDK. [~gmathews] [~ybanev] thoughts? \r\n\r\n*EDIT*: PR (poc): https://github.com/appcelerator/aps_sdk/pull/302\r\n\r\nExample:\r\n{code:json}\r\n{\r\n \"android\": {\r\n \"title\": \"myApp\",\r\n \"alert\": \"Here, I want to send the multiline push notification messages to the user for the \\n details reports.\",\r\n \"style\": {\r\n \"bigContentTitle\": \"myApp\",\r\n \"bigText\": \"Here, I want to send the multiline push notification messages to the user for the \\n details reports.\",\r\n \"summaryText\": \"Here, I want to send the multiline push notification messages\",\r\n }\r\n }\r\n}\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-17T12:36:05.000+0000", "updated": "2017-10-17T15:21:36.000+0000" }, { "id": "429499", "author": { "name": "dirleidionisio", "key": "dirleidionisio", "displayName": "Dirlei Dionísio", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Can anyone at Appcelerator please say if this will be supported some day?\r\n\r\nOr... can ti.cloudpush be open sourced?", "updateAuthor": { "name": "dirleidionisio", "key": "dirleidionisio", "displayName": "Dirlei Dionísio", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2017-10-24T14:30:00.000+0000", "updated": "2017-10-24T14:30:00.000+0000" }, { "id": "434066", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hey everyone! The related PR's just have been merged and will be available via dashboard later this week.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-02-05T20:50:38.000+0000", "updated": "2018-02-05T20:50:52.000+0000" }, { "id": "434906", "author": { "name": "dirleidionisio", "key": "dirleidionisio", "displayName": "Dirlei Dionísio", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Thanks [~hknoechel] !\r\n\r\nHow about showing a custom image (not icon) in the push? Will it be possible?", "updateAuthor": { "name": "dirleidionisio", "key": "dirleidionisio", "displayName": "Dirlei Dionísio", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2018-02-26T14:02:07.000+0000", "updated": "2018-02-26T14:04:14.000+0000" }, { "id": "434907", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~dirleidionisio] I have no idea. That is completely different feature request.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-02-26T14:04:08.000+0000", "updated": "2018-02-26T14:04:08.000+0000" }, { "id": "434910", "author": { "name": "dirleidionisio", "key": "dirleidionisio", "displayName": "Dirlei Dionísio", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "[~hknoechel] Any chance of open source ti.cloudpush so I can help to implementing it?", "updateAuthor": { "name": "dirleidionisio", "key": "dirleidionisio", "displayName": "Dirlei Dionísio", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2018-02-26T14:20:26.000+0000", "updated": "2018-02-26T14:20:26.000+0000" }, { "id": "435612", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in SDK 7.1.0.v20180314133955 & 7.2.0.v20180314132221.\r\n\r\nClosing.\r\n\r\nStudio Ver: 5.0.0.201712081732\r\nOS Ver: 10.13.2\r\nXcode Ver: Xcode 9.2\r\nAppc NPM: 4.2.12\r\nAppc CLI: 7.0.2\r\nDaemon Ver: 1.0.1\r\nTi CLI Ver: 5.0.14\r\nAlloy Ver: 1.11.0\r\nNode Ver: 8.9.1\r\nNPM Ver: 5.5.1\r\nJava Ver: 1.8.0_101\r\nDevices: ⇨ google Nexus 6P --- Android 8.0.0\r\n ⇨ google Nexus 5 --- Android 6.0.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-14T21:20:24.000+0000", "updated": "2018-03-14T21:20:24.000+0000" }, { "id": "435725", "author": { "name": "dirleidionisio", "key": "dirleidionisio", "displayName": "Dirlei Dionísio", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Good job, guys!\r\n\r\nIn order to use this feature I need to know: how can I send multiline notifications using Appc dashboard or API? The docs are not updated.", "updateAuthor": { "name": "dirleidionisio", "key": "dirleidionisio", "displayName": "Dirlei Dionísio", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2018-03-19T18:51:24.000+0000", "updated": "2018-03-19T18:51:24.000+0000" }, { "id": "435859", "author": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "body": "Updated to 7.2.0.v20180314132221 but the notifications still get trimmed after 1 line.\r\nIs this something we need to set when registering or when sending the push?", "updateAuthor": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "created": "2018-03-23T11:25:53.000+0000", "updated": "2018-03-23T11:25:53.000+0000" }, { "id": "436641", "author": { "name": "bimmel-defective", "key": "bimmel", "displayName": "(deactived) Brian Immel", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~aislam], I added your sample payload example to https://wiki.appcelerator.org/display/guides2/Subscribing+to+push+notifications. It will be published on the next doc push (after April 19th?) or soon if you think it warrants my time to do so.", "updateAuthor": { "name": "bimmel-defective", "key": "bimmel", "displayName": "(deactived) Brian Immel", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-04-09T15:54:08.000+0000", "updated": "2018-04-09T15:54:08.000+0000" }, { "id": "437966", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~dirleidionisio] In case you did not find it out already, the docs have recently been updated to reflect an example, see [this guide|https://docs.appcelerator.com/platform/latest/#!/guide/Subscribing_to_push_notifications-section-src-37551717_Subscribingtopushnotifications-Parsinganotificationpayload] and \"Sample payload sent push notification in the multiline format on an Android device\" for details!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-05-26T10:36:44.000+0000", "updated": "2018-05-26T10:36:44.000+0000" }, { "id": "437967", "author": { "name": "dirleidionisio", "key": "dirleidionisio", "displayName": "Dirlei Dionísio", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Thank you Hans, I'll check it soon.", "updateAuthor": { "name": "dirleidionisio", "key": "dirleidionisio", "displayName": "Dirlei Dionísio", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2018-05-26T12:04:53.000+0000", "updated": "2018-05-26T12:04:53.000+0000" } ], "maxResults": 30, "total": 30, "startAt": 0 } } }