{ "id": "170652", "key": "TIMOB-25617", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "20060", "description": "", "name": "Release 7.0.2", "archived": false, "released": true, "releaseDate": "2018-02-09" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-01-16T18:07:16.000+0000", "created": "2017-12-19T12:22:24.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "cloudpush", "notifications" ], "versions": [ { "id": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" } ], "issuelinks": [ { "id": "56223", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "inwardIssue": { "id": "170280", "key": "TIMOB-25501", "fields": { "summary": "Android: App crash on receiving notification if app in background", "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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-02-06T18:26:43.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" } ], "attachment": [ { "id": "63906", "filename": "Screenshot.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-06T04:08:13.000+0000", "size": 81729, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Push notifications not shown in statusbar on Android 8 if app is backgrounded", "creator": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "subtasks": [], "reporter": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "environment": "SDK 7.0.0.GA\r\ncloudPush 5.0.0\r\nAndroid 8", "closedSprints": [ { "id": 984, "state": "closed", "name": "2017 Sprint 26 SDK", "startDate": "2017-12-17T22:34:59.726Z", "endDate": "2017-12-31T22:34:00.000Z", "completeDate": "2018-01-02T16:57:05.655Z", "originBoardId": 114 }, { "id": 985, "state": "closed", "name": "2018 Sprint 01 SDK", "startDate": "2017-12-31T16:58:54.631Z", "endDate": "2018-01-14T16:58:00.000Z", "completeDate": "2018-01-17T22:44:27.028Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "432522", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~sliang],\r\n\r\nCan you ask for the person's \"tiapp.xml\" file please?\r\n\r\nI ask because Titanium does not fully support \"targeting\" Android 8.x yet. We haven't resolved all of its breaking changes and notifications failing to post to the status bar is one of them (they now require us to use notification channels).\r\n\r\nHowever, notifications will work on Android 8.x if the Titanium app targets Android 7.x (aka: API Level 25) and below. Titanium targets Android 7.x by DEFAULT and will NEVER automatically target Android 8.x. But Titanium does allow customers to opt-in to targeting Android 8.x (which is experimental) via the \"tiapp.xml\" as follows...\r\n\r\n{code:xml}\r\n\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nSo, if the customer is doing the above, then ask him/her to remove the \"uses-sdk\" XML element or drop the target API Level to \"25\".\r\n\r\nAlso note that \"ti.cloudpush\" issue [NATIVESDK-352] has not been fixed yet either. So, if the app has been restored from backup on Android 6.0 or above, the app will never receive notifications again. I've posted code on that ticket that'll provide a work-around.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-22T20:29:22.000+0000", "updated": "2017-12-22T20:29:22.000+0000" }, { "id": "432863", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~spulipakkam] \"_miscellaneous_\" is a reserved Android channel ID (see here https://developer.android.com/reference/android/app/NotificationChannel.html#DEFAULT_CHANNEL_ID). For compatibility with older Android apps that do not specify a channel ID.\r\n\r\nThe user should not create a channel using this ID as this could interfere with the behavior of Android OS. Any other ID is fine.", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-08T18:27:22.000+0000", "updated": "2018-01-08T18:28:00.000+0000" }, { "id": "433055", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "aps_sdk: https://github.com/appcelerator/aps_sdk/pull/307\r\ncloudpush: https://github.com/appcelerator-modules/cloudpush/pull/36\r\n\r\nti.cloudpush: https://github.com/appcelerator-modules/cloudpush/releases/tag/android-5.0.2", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-11T23:51:26.000+0000", "updated": "2018-01-11T23:51:26.000+0000" }, { "id": "433099", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed. Waiting to get merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-12T20:40:10.000+0000", "updated": "2018-01-12T20:47:57.000+0000" }, { "id": "433200", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR's merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-16T18:07:10.000+0000", "updated": "2018-01-16T18:07:10.000+0000" }, { "id": "433265", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with Cloudpush module {{5.0.2}}.\r\nClosing.\r\n\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-17T18:16:51.000+0000", "updated": "2018-01-17T18:16:51.000+0000" }, { "id": "434112", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "[~eharris] That's because the file doesn't exist up on S3.\r\n\r\nGenerally for non-private modules it's pretty easy to just point to the zipfile on Github itself, but this module is private she we need to manually push a copy to S3.\r\n\r\nTo update the packaged version in the SDK:\r\n- Open a PR on titanium_mobile\r\n- Upload the cloudpush zip file to S3\r\n- Update the pre-packaged modules listing. On 7_0_X it's fairly easy, just update the URL. On master we use hashes for integrity, so you can use the scans command I added to get that info:\r\n{{./build> ./scons ssri https://s3.amazonaws.com/timobile.appcelerator.com/modules/ti.cloudpush-android-5.0.2.zip}}\r\n\r\nThen stick that into support/modules/packaged/modules.json\r\n\r\nIn any case, I've opened PRs for this on master/7_0_X:\r\nmaster: https://github.com/appcelerator/titanium_mobile/pull/9806\r\n7_0_X: https://github.com/appcelerator/titanium_mobile/pull/9805", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2018-02-06T18:26:43.000+0000", "updated": "2018-02-06T18:26:43.000+0000" } ], "maxResults": 24, "total": 24, "startAt": 0 } } }