{ "id": "161317", "key": "MOD-2266", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2016-06-24T00:47:28.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-5.4.0" ], "versions": [ { "id": "17710", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" }, { "id": "17723", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "issuelinks": [], "assignee": null, "updated": "2018-03-06T18:52:23.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "11902", "name": "Cloud" }, { "id": "12140", "name": "CloudPush" } ], "description": "*Details:* After calling {{CloudPush.retrieveDeviceToken()}}, \"The Google Play services resources were not found\" error appears in logcat.\r\n\r\n*Notes:*\r\n* This is not a regression with current GA stack.\r\n* You cannot reproduce this error using the default mobile project.\r\n* Even though the error appears in logcat, the app still launches fine without any issues.\r\n\r\n*Steps to reproduce:*\r\n# Create a Titanium classic mobile app\r\n# Make sure to include the ti.cloud and ti.cloudpush module; you will need to configure your app for push\r\n# Download, unzip, and copy contents of Archive.zip into your {{Resources}} folder\r\n# Install app to an Android device\r\n# Once app is launched, go to Push Notifications > Settings for This Device\r\n# Press the {{Disabled}} button to enable\r\n*Note:* The critical code flow after pressing the button:\r\n* {{settings.js}} -> line 23, {{PushManager.enablePushNotifications()}}\r\n* {{pushManager.js}} -> line 20, {{checkPushNotifications()}}\r\n* {{pushManager.js}} -> line 118, {{androidPushModule.retrieveDeviceToken()}}\r\n\r\n*Actual:* \"The Google Play services resources were not found\" error will appear in logcat:\r\n{code}\r\n06-23 14:58:58.664 13968 13968 E GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.\r\n{code}\r\n\r\n*Expected:* No errors should appear in logcat when using ti.cloudpush module.", "attachment": [ { "id": "59641", "filename": "Archive.zip", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-06-24T00:37:21.000+0000", "size": 18697, "mimeType": "application/zip" } ], "flagged": false, "summary": "After calling CloudPush.retrieveDeviceToken(), \"The Google Play services resources were not found\" error appears in logcat", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Appc CLI NPM: 4.2.6, 4.2.7-2\r\nAppc CLI Core: 5.3.0, 5.4.0-18\r\nArrow: 1.7.31\r\nSDK: 5.4.0.v20160617074028\r\nti.cloud: 3.2.10\r\nti.cloudpush: 3.4.1\r\nNode: v4.4.5\r\nOS: El Capitan (10.11.5)\r\nDevices: Samsung Galaxy S5 (4.4.2), Nexus 6 (6.0.1)\r\n", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }