{ "id": "173470", "key": "AC-6210", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2019-04-22T22:26:43.000+0000", "created": "2019-04-15T22:25:49.000+0000", "labels": [ "android", "cloudpush" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-04-22T22:26:43.000+0000", "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" } }, "components": [ { "id": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "I'm getting these errors from ti.cloudpush:\r\n\r\n* Device token is null\r\n* Getting GCM SenderId failed\r\n\r\nI have triple checked the Sender ID that I got from Firebase is correct. I added it to my tiapp.xml as follows:\r\n\r\n\r\n407945964413\r\n\r\n---- ERROR LOG ----\r\n[WARN] : W/com.appcelerator.aps.CCPushService: Getting GCM SenderId failed. No response area in returned JSON. Will try again in 5 seconds.\r\n[ERROR] : E/com.appcelerator.aps.LogToSDCard: Error on writing to SD card. Exception:java.io.FileNotFoundException: /storage/emulated/0/cocoafish/log/PushClient-20190416.log (No such file or directory)\r\n[ERROR] : E/com.appcelerator.aps.CCPushService: Getting GCM SenderId failed. Max retry time reaches.\r\n[ERROR] : E/com.appcelerator.aps.LogToSDCard: Error on writing to SD card. Exception:java.io.FileNotFoundException: /storage/emulated/0/cocoafish/log/PushClient-20190416.log (No such file or directory)\r\n[WARN] : W/com.appcelerator.aps.CCPushService: Device Token is null.\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "ti.cloudpush - Device token is null", "creator": { "name": "jamesjw01", "key": "jamesjw01", "displayName": "jamesjw01", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jamesjw01", "key": "jamesjw01", "displayName": "jamesjw01", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "* App CLI version 7.5.2\r\n* Titianium CLI version 5.1.1\r\n* Titanium SDK version v8.0.0.GA\r\n* ti.cloudpush version [latest] 6.0.1\r\n* OS: Windows 10\r\n", "comment": { "comments": [ { "id": "447706", "author": { "name": "jamesjw01", "key": "jamesjw01", "displayName": "jamesjw01", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I was wondering if the Appc App ID or GUID would have anything to do with it? I noticed those both have changed at some point and I'm not sure when they changed or why they changed. I've taken so many steps figuring things out along the way I forget what is what sometimes", "updateAuthor": { "name": "jamesjw01", "key": "jamesjw01", "displayName": "jamesjw01", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-04-15T22:33:48.000+0000", "updated": "2019-04-15T22:33:48.000+0000" }, { "id": "447723", "author": { "name": "jamesjw01", "key": "jamesjw01", "displayName": "jamesjw01", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I've tried using ti.goosh and it successfully retrieves the device token.", "updateAuthor": { "name": "jamesjw01", "key": "jamesjw01", "displayName": "jamesjw01", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-04-16T20:59:35.000+0000", "updated": "2019-04-16T20:59:35.000+0000" }, { "id": "447726", "author": { "name": "jamesjw01", "key": "jamesjw01", "displayName": "jamesjw01", "active": true, "timeZone": "America/Los_Angeles" }, "body": "So now, as a hack, I've used ti.goosh to retrieve the device token and sending it to the `Cloud.PushNotifications.subscribeToken` it returns error message:\r\n\r\nError:\r\n[INFO] : Android application package not configured", "updateAuthor": { "name": "jamesjw01", "key": "jamesjw01", "displayName": "jamesjw01", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-04-16T21:39:15.000+0000", "updated": "2019-04-16T21:39:15.000+0000" }, { "id": "447769", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, The issue with ti.cloudpush is only with the latest version? Can you try with a lower version or the previous version? Let us know. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-04-18T22:59:24.000+0000", "updated": "2019-04-18T22:59:24.000+0000" }, { "id": "447820", "author": { "name": "jamesjw01", "key": "jamesjw01", "displayName": "jamesjw01", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi,\r\n\r\nSorry, I forgot to update here when I fixed it. \r\n\r\nThe problem was with my App ID and Oauth details in my tiapp.xml file. When I took over the project I moved it to a different organisation and those details got mixed up somehow. \r\n\r\nThank you for your response. You can close this ticket.", "updateAuthor": { "name": "jamesjw01", "key": "jamesjw01", "displayName": "jamesjw01", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-04-21T17:58:12.000+0000", "updated": "2019-04-21T17:58:12.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }