{ "id": "162041", "key": "TIMOB-23677", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": [], "resolution": { "id": "10000", "description": "", "name": "Done" }, "resolutiondate": "2018-04-17T13:31:45.000+0000", "created": "2016-07-25T13:52:45.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "cloudpush" ], "versions": [], "issuelinks": [ { "id": "53157", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "164081", "key": "TIMOB-24055", "fields": { "summary": "Android: Enabling push notifications crashes the app with latest 6.0.0.v20161019091022", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "53205", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "164172", "key": "TIDOC-2656", "fields": { "summary": "Document changes to Android push for FCM", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2018-08-23T12:40:34.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": "GCM [https://developers.google.com/cloud-messaging/faq] is going to be eventually deprecated for FCM [https://firebase.google.com/docs/cloud-messaging/]\r\n\r\nWe should be prepared for this and look and identify what different projects/parts we need to update.", "attachment": [ { "id": "60567", "filename": "Screen_Shot_2016-10-19_at_3_31_33_PM.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-19T22:41:20.000+0000", "size": 64272, "mimeType": "image/png" }, { "id": "60568", "filename": "Screen_Shot_2016-10-19_at_3_36_09_PM.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-19T22:42:31.000+0000", "size": 30894, "mimeType": "image/png" }, { "id": "60569", "filename": "Screen_Shot_2016-10-19_at_3_36_44_PM.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-19T22:43:10.000+0000", "size": 19301, "mimeType": "image/png" }, { "id": "60570", "filename": "Screen_Shot_2016-10-19_at_3_38_23_PM.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-19T22:44:24.000+0000", "size": 46895, "mimeType": "image/png" }, { "id": "60459", "filename": "Screenshot_20161007-222415.png", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2016-10-07T16:30:15.000+0000", "size": 72777, "mimeType": "image/png" }, { "id": "60458", "filename": "Screen Shot 2016-10-07 at 10.22.24 PM.png", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2016-10-07T16:30:28.000+0000", "size": 51267, "mimeType": "image/png" }, { "id": "60563", "filename": "Screen Shot 2016-10-19 at 2.22.46 PM.png", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2016-10-19T08:32:46.000+0000", "size": 66747, "mimeType": "image/png" }, { "id": "60562", "filename": "Screen Shot 2016-10-19 at 2.30.10 PM.png", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2016-10-19T08:32:46.000+0000", "size": 67670, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: GCM is eventually being deprecated for FCM", "creator": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "subtasks": [], "reporter": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "environment": null, "closedSprints": [ { "id": 1021, "state": "closed", "name": "2018 Sprint 08 SDK", "startDate": "2018-04-08T17:57:36.122Z", "endDate": "2018-04-22T17:57:00.000Z", "completeDate": "2018-04-22T22:51:19.120Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "391406", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Related docs\r\nhttps://docs.appcelerator.com/arrowdb/latest/#!/api/PushNotifications\r\nhttp://docs.appcelerator.com/platform/latest/#!/api/Modules.CloudPush\r\nhttps://wiki.appcelerator.org/display/guides2/Configuring+push+services", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-07-25T13:53:41.000+0000", "updated": "2016-07-25T13:53:59.000+0000" }, { "id": "398362", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "body": "Hi [~cng] ,\r\nI have tested FCM for android push notification. It's working as expected. \r\nhttps://developers.google.com/cloud-messaging/gcm#senderid\r\n\r\n[^Screenshot_20161007-222415.png]\r\n[^Screen Shot 2016-10-07 at 10.22.24 PM.png]\r\n\r\nWe need to update our documentation. \r\nhttp://docs.appcelerator.com/platform/latest/#!/guide/Configuring_push_services\r\n", "updateAuthor": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-10-07T16:31:46.000+0000", "updated": "2016-10-19T22:22:29.000+0000" }, { "id": "399355", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "body": "Hi [~cng] and [~wkong],\r\nWorkaround : \r\n1. Create a sample test project.\r\n2. Inculde sample code : [push|https://gist.github.com/aminulaust/3946931bf2221a3b0c0a34516603679b] , ti.cloud and ti.cloudpush\r\n3. Now create a [firebase project :|https://console.firebase.google.com]\r\n4. Copy *Project ID* from firebase.\r\n5. Then copy Web API Key from firebase. !Screen Shot 2016-10-19 at 2.22.46 PM.png|thumbnail!\r\n6. Finally configure your Appcelerator Dashboard with Project ID and Web API Key.!Screen Shot 2016-10-19 at 2.30.10 PM.png|thumbnail!\r\n7. Now send push notification.\r\n\r\nThanks \r\n\r\n", "updateAuthor": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-10-19T08:35:48.000+0000", "updated": "2016-10-19T22:24:17.000+0000" }, { "id": "399368", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~adesai] FYI. [~emerriman] Any chance you could confirm this?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-19T14:41:34.000+0000", "updated": "2016-10-19T14:41:34.000+0000" }, { "id": "399371", "author": { "name": "adesai", "key": "adesai", "displayName": "Aditya Desai", "active": true, "timeZone": "America/New_York" }, "body": "Question - Will the workaround suggested by [~aislam] work with a GCM id or FCM id?", "updateAuthor": { "name": "adesai", "key": "adesai", "displayName": "Aditya Desai", "active": true, "timeZone": "America/New_York" }, "created": "2016-10-19T15:19:56.000+0000", "updated": "2016-10-19T15:19:56.000+0000" }, { "id": "399372", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I think we need to confirm that, which it would be great if [~emerriman] or [~wkong] could assist.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-19T15:22:03.000+0000", "updated": "2016-10-19T15:22:03.000+0000" }, { "id": "399383", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "body": "Hi [~adesai],\r\nThe workaround suggested by me was FCM id. Please take a look on firebase console screenshot : !Screen Shot 2016-10-19 at 2.22.46 PM.png|thumbnail!", "updateAuthor": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-10-19T16:58:12.000+0000", "updated": "2016-10-19T22:24:30.000+0000" }, { "id": "399392", "author": { "name": "adesai", "key": "adesai", "displayName": "Aditya Desai", "active": true, "timeZone": "America/New_York" }, "body": "Thanks [~aislam]. If [~emerriman] can confirm this, then this may be a second alternative that we can suggest to the Enedis team as well. (Providing them with GCM keys created with our account being the first).", "updateAuthor": { "name": "adesai", "key": "adesai", "displayName": "Aditya Desai", "active": true, "timeZone": "America/New_York" }, "created": "2016-10-19T17:39:33.000+0000", "updated": "2016-10-19T17:39:33.000+0000" }, { "id": "399410", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello all,\r\n\r\nConfirmed. \r\nWe have two ways that you can push using FCM:\r\n1) The method described by [~aislam] above - this is the simplest. Simply create a new project in Firebase console, and use the \"Server key (legacy token)\" as \"GCM API Key\". Then add the \"SenderID\" to the \"GCM Sender ID\" and you can push. Of course you must follow the other steps listed to create a mobile app and create and register users, subscribe for push, etc..\r\n2) You can import a project into Firebase. Basically similar, the end result will be a new key is generated. The steps for this are:\r\n2.1) Log into Firebase console\r\n2.2) Choose \"Import Google Project\" from the project menu\r\n2.3) Select \"Project Settings\" from the gear menu\r\n2.4) Select the \"CLOUD MESSAGING\" Tab and use the key and sender ID as previously described\r\nIf you return to the Older google API console, you will see two new keys are added to the project.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-19T22:39:15.000+0000", "updated": "2016-10-19T22:39:15.000+0000" }, { "id": "399776", "author": { "name": "johngoodland", "key": "johngoodland", "displayName": "John Goodland", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi - Following the steps given by Aminul I get an error in the console whilst running (see below). This is a new project that has never had google play services enabled. Using Titanium SDK 5.5.1 GA and latest versions of ti.cloud and ti.cloudpush.\r\n\r\n[ERROR] : GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.\r\n", "updateAuthor": { "name": "johngoodland", "key": "johngoodland", "displayName": "John Goodland", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-25T10:21:10.000+0000", "updated": "2016-10-25T10:22:04.000+0000" }, { "id": "399822", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello [~johngoodland]\r\n\r\nWe have seen this as well, and after investigating it seems to be a Google bug. See:\r\nhttps://code.google.com/p/google-plus-platform/issues/detail?id=755\r\nAnd on stack overflow: http://stackoverflow.com/questions/18068627/logcat-message-the-google-play-services-resources-were-not-found-check-your-pr\r\nSeems to be affecting many Google devs.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-25T21:42:06.000+0000", "updated": "2016-10-25T21:42:38.000+0000" }, { "id": "436944", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "FCM is already supported since a while, see https://github.com/hansemannn/titanium-firebase-cloud-messaging for details (including support for both iOS and Android).", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-04-17T13:31:45.000+0000", "updated": "2018-04-17T13:31:45.000+0000" }, { "id": "439852", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closed as completed. If this is in error, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:34:49.000+0000", "updated": "2018-08-06T17:34:49.000+0000" }, { "id": "441012", "author": { "name": "paulatstepup", "key": "paulatstepup", "displayName": "Paul Ryan", "active": true, "timeZone": "Europe/London" }, "body": "Comment from above states that FCM is supported, but link is to a module maintained by Hans, not an Axway project. Does this have any official support from Axway other than Hans being on the Appcelerator development team and is this / has this code been rolled up into the core product?", "updateAuthor": { "name": "paulatstepup", "key": "paulatstepup", "displayName": "Paul Ryan", "active": true, "timeZone": "Europe/London" }, "created": "2018-08-23T12:40:34.000+0000", "updated": "2018-08-23T12:40:34.000+0000" } ], "maxResults": 17, "total": 17, "startAt": 0 } } }