{ "id": "135925", "key": "TIMOB-17945", "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": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-01-06T21:43:20.000+0000", "created": "2014-08-30T01:27:40.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "TCSupport", "qe-3.4.1", "qe-3.5.0" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [ { "id": "42929", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "139558", "key": "NATIVESDK-301", "fields": { "summary": "Android: Push - onCallback method is not called if you send a push notification to a backgrounded app", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "43627", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "140838", "key": "TIMOB-18125", "fields": { "summary": "Android: CloudPush - trayClickLaunchedApp event not fired if listener added after window is open", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "42282", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "137307", "key": "MOD-1871", "fields": { "summary": "CloudPush: Push Notifications not received if app is not running", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "42283", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "124193", "key": "TIMOB-16360", "fields": { "summary": "Android: trayClickFocusedApp event not fired when push notification clicked in tray", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-01-06T21:43:20.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": "h4. Problem Description\r\nIf CloudPush.singleCallback is set to true, \"callback\" event will not be fired when clicking the tray notification that launches the app (app wasn't in the foreground nor the background).\r\n\r\nWithout CloudPush.singleCallback set to true, \"callback\" will be fired as expected.\r\n\r\ntrayClickFocusedApp and trayClickLaunchedApp are never fired in any case.\r\n\r\nh4. Testcase\r\n1. Create a new mobile project (classic titanium)\r\n2. Paste this to app.js\r\n{code}\r\nvar CloudPush = require('ti.cloudpush');\r\nCloudPush.retrieveDeviceToken({\r\n success: function deviceTokenSuccess(e) {\r\n // Use this device token with Ti.Cloud.PushNotifications calls\r\n // to subscribe and unsubscribe to push notification channels\r\n Ti.API.info('Device Token: ' + e.deviceToken);\r\n },\r\n error: function deviceTokenError(e) {\r\n alert('Failed to register for push! ' + e.error);\r\n }\r\n});\r\n// These events monitor incoming push notifications\r\nCloudPush.addEventListener('callback', function (evt) {\r\n alert(evt.payload);\r\n});\r\nCloudPush.addEventListener('trayClickLaunchedApp', function (evt) {\r\n Ti.API.info('Tray Click Launched App (app was not running)');\r\n});\r\nCloudPush.addEventListener('trayClickFocusedApp', function (evt) {\r\n Ti.API.info('Tray Click Focused App (app was already running)');\r\n});\r\n{code}\r\n3. Run in device. \r\n\r\nh4. OBSERVED PROBLEM\r\n\r\nAfter Enabling \"ti.cloud\" and \"ti.cloudpush\" in the project, we provided the Production and Development Key generated by titanium and also the ACS API key from web console in the \"tiapp.xml\" file.\r\n\r\n{code}\r\nW4dRrpUDB86lWmDP8xUQvFT8GYSba0Py\r\nvLJOUvCtWkNZISxsLJnovTUpsYFpE3BY\r\nW4dRrpUDB86lWmDP8xUQvFT8GYSba0Py\r\n{code}\r\n\r\nWe also configured the app for GCM protocol. After Running the app. An error message has shown and though GCM Authentication was successful, The Device token was not shown in the console.\r\n\r\nh4. Error Message\r\n\r\n{code}\r\n[ERROR] : SELinux: Function: selinux_android_load_priority [0], There is no sepolicy file\r\n[INFO] : TiApplication: (main) [0,0] checkpoint, app created.\r\n[INFO] : TiApplication: (main) [210,210] Titanium 3.3.0 (2014/07/11 12:36 787cd39)\r\n[ERROR] : SELinux:\r\n[ERROR] : SELinux: Function: selinux_android_load_priority [1], There is no sepolicy version file\r\n[ERROR] : SELinux:\r\n[ERROR] : SELinux: selinux_android_seapp_context_reload: seapp_contexts file is loaded from /seapp_contexts\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: CloudPush - events not fired correctly", "creator": { "name": "shawnlan", "key": "shawnlan", "displayName": "Shawn Lan", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "shawnlan", "key": "shawnlan", "displayName": "Shawn Lan", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 3.3.0, Android 4.4\r\n\r\n\r\nCLI version 3.3.0, \r\nTitanium SDK version 3.3.0.GA\r\nAndroid Device, Android 4.4\r\n\r\nMobile SDK 3.4.0.GA\r\nCloudPush 3.3.1\r\n", "closedSprints": [ { "id": 258, "state": "closed", "name": "2014 Sprint 24 SDK", "startDate": "2014-11-24T22:28:25.425Z", "endDate": "2014-12-06T01:00:00.000Z", "completeDate": "2014-12-08T17:21:15.171Z", "originBoardId": 114 }, { "id": 291, "state": "closed", "name": "2015 Sprint 01 SDK", "startDate": "2015-01-03T01:00:00.000Z", "endDate": "2015-01-17T01:00:00.000Z", "completeDate": "2015-01-19T17:24:40.828Z", "originBoardId": 114 }, { "id": 251, "state": "closed", "name": "2014 Sprint 23 SDK", "startDate": "2014-11-10T22:56:44.608Z", "endDate": "2014-11-22T01:00:00.000Z", "completeDate": "2014-11-22T05:03:36.553Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "330574", "author": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "body": "Is there any reason this couldn't go into 3.4.1 or 3.4.2? We need this fix urgently, and I'm concerned that 3.5.0 might be too far away for our release schedule.", "updateAuthor": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "created": "2014-11-03T18:17:22.000+0000", "updated": "2014-11-03T18:17:22.000+0000" }, { "id": "330576", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I've placed it into 3.4.3. As it is a module, it should be available in advance of that.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-03T18:25:39.000+0000", "updated": "2014-11-03T18:25:39.000+0000" }, { "id": "330577", "author": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "body": "Thanks!", "updateAuthor": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "created": "2014-11-03T18:27:21.000+0000", "updated": "2014-11-03T18:27:21.000+0000" }, { "id": "331567", "author": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "body": "Is there any way to get a preview of this module? I can't get a continuous build of 3.4.3 yet, and it doesn't appear to have been added to 3.5.0's continuous builds. We would be very happy to test and report back any findings.", "updateAuthor": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "created": "2014-11-11T14:13:08.000+0000", "updated": "2014-11-11T14:13:08.000+0000" }, { "id": "331568", "author": { "name": "Serfenia", "key": "serfenia", "displayName": "Patrick van Vuuren", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This counts for me as well. I really need a working version soon as we're trying to deploy apps with push notifications. Currently I am failing on the part that if my app is closed and I open it with the notification, that the event is not fired.\r\n", "updateAuthor": { "name": "Serfenia", "key": "serfenia", "displayName": "Patrick van Vuuren", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-11T14:41:07.000+0000", "updated": "2014-11-11T14:41:07.000+0000" }, { "id": "331572", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi All, we are planning on working on this this sprint (next two weeks). Once the work is completed, you should be able to download an updated module.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-11T15:14:24.000+0000", "updated": "2014-11-11T15:14:24.000+0000" }, { "id": "331905", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Testing with Wilson shows that the issue is only when `singleCallback=true`", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-12T22:45:40.000+0000", "updated": "2014-11-12T22:45:40.000+0000" }, { "id": "331912", "author": { "name": "shawnlan", "key": "shawnlan", "displayName": "Shawn Lan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "\"trayClickFocusedApp and trayClickLaunchedApp are never fired\" whether singleCallback set to true or false.", "updateAuthor": { "name": "shawnlan", "key": "shawnlan", "displayName": "Shawn Lan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-12T23:04:05.000+0000", "updated": "2014-11-12T23:04:05.000+0000" }, { "id": "331941", "author": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "body": "I don't believe Shawn's comment to be accurate.\r\n\r\nOur testing shows that the trayclick events *do* fire with singlecallback set to false (you just can't tell which notification was actually clicked on).\r\n\r\nThere are a couple of other JIRA issues that have been fixed recently:\r\n\r\nTC-4895\r\nTIMODOPEN-440\r\n\r\nTIMODOPEN-440 could be to blame for what Shawn is seeing.\r\n", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-13T00:50:26.000+0000", "updated": "2014-11-13T17:27:36.000+0000" }, { "id": "331944", "author": { "name": "shawnlan", "key": "shawnlan", "displayName": "Shawn Lan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I tested on 3.4.0", "updateAuthor": { "name": "shawnlan", "key": "shawnlan", "displayName": "Shawn Lan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-13T00:53:29.000+0000", "updated": "2014-11-13T00:53:29.000+0000" }, { "id": "331949", "author": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "body": "Whatever version of the mobile SDK you are using, make sure you're using ti.cloudpush 3.3.1.\r\n\r\nWe got access to it a couple of weeks ago via continuous builds. But it's part of mobilesdk 3.4.1, I believe.", "updateAuthor": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "created": "2014-11-13T01:12:45.000+0000", "updated": "2014-11-13T01:12:45.000+0000" }, { "id": "332178", "author": { "name": "Serfenia", "key": "serfenia", "displayName": "Patrick van Vuuren", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am also getting this error\r\nCloudpushModuleImplementation: (KrollRuntimeThread) [691,691] Problem parsing `acs-push-api-url`: java.net.MalformedURLException\r\n\r\nCloudpush version 3.3.2", "updateAuthor": { "name": "Serfenia", "key": "serfenia", "displayName": "Patrick van Vuuren", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-14T12:52:44.000+0000", "updated": "2014-11-14T12:52:44.000+0000" }, { "id": "332794", "author": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "body": "When we updated to mobilesdk version 3.4.1, we noticed that Cloudpush 3.3.4 was bundled. Thank you for accelerating this!\r\n\r\nWe did some testing, and it still seems like we're not getting events fired as expected.\r\n\r\nWith singleCallback set to true:\r\n\r\nApp in background:\r\n- click on notification tray icon\r\n- app is brought to foreground\r\n- trayClickFocusedApp event fired\r\n- callback fired\r\n\r\nApp stopped:\r\n- click on notification tray icon\r\n- app is launched\r\n- trayClickLaunchedApp event fired\r\n- callback *not* fired\r\n\r\nOur app needs the callback function to get access to the push notification payload. I'd love it if it were also passed to trayClickFocusedApp and trayClickLaunchedApp, but it's not.\r\n\r\nWhen we see trayClickFocusedApp or trayClickLaunchedApp, we set a flag so that when the callback comes in, we automatically open a screen in the app based on the payload.\r\n\r\nIf we get callback without trayClickFocusedApp or trayClickLaunchedApp, we assume the user is interacting with the app, so we don't change anything in the UI.\r\n\r\nWithout the callback getting called, we can't do any of this.\r\n\r\nThis is an urgent fix for us. I can open a support ticket if need be.\r\n\r\n\r\n", "updateAuthor": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "created": "2014-11-18T22:20:38.000+0000", "updated": "2014-11-18T22:20:38.000+0000" }, { "id": "333333", "author": { "name": "Serfenia", "key": "serfenia", "displayName": "Patrick van Vuuren", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Seeing the issue is resolved, when will it come available? Waiting for 3.6.0 (March) is way too long for our current product.\r\n\r\nRegards,\r\nPatrick", "updateAuthor": { "name": "Serfenia", "key": "serfenia", "displayName": "Patrick van Vuuren", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-22T16:20:42.000+0000", "updated": "2014-11-22T16:20:42.000+0000" }, { "id": "333430", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi [~Serfenia], the version of ti.cloudpush that contains this fix (v3.3.5) can be found here: https://github.com/appcelerator/titanium_mobile/raw/master/support/module/packaged/ti.cloudpush-android-3.3.5.zip", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-24T18:49:54.000+0000", "updated": "2014-11-24T18:49:54.000+0000" }, { "id": "333589", "author": { "name": "Serfenia", "key": "serfenia", "displayName": "Patrick van Vuuren", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello Jon,\r\n\r\nI've downloaded and included the 3.3.5 version which includes the fix.\r\n\r\nI've put a log inside the trayClickLaunchedApp event. When I start my app from the notification with singleCallback on true this event is not fired, however 'callback' is fired. (I checked the logs with DDMS, could not find my trayClickLaunchedApp log, but found my callback logs)\r\n\r\nWithout singleCallback it has the same behaviour.\r\n\r\nI expect trayClickLaunchedApp to fire when the app is previously closed by the user. It should do that right? and when the app is in android terms 'paused', the focus event should be called.\r\n\r\nJust to clarify we are on the same line :).\r\n\r\nRegards,\r\nPatrick\r\n\r\nTested on (exact same behaviour):\r\nAndroid 4.3 - Samsung Galaxy S3\r\nAndroid 5.0 - Nexus 9\r\n\r\n\r\n\r\n", "updateAuthor": { "name": "Serfenia", "key": "serfenia", "displayName": "Patrick van Vuuren", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-25T09:16:24.000+0000", "updated": "2014-11-25T12:31:47.000+0000" }, { "id": "333602", "author": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "body": "We're testing ti.cloudpush 3.3.5 with mobile SDK 3.4.2.v20141027085717. We use singleCallback=true, and we are getting the trayClickLaunchedApp event.\r\n\r\nThank you to the Appcelerator devs who added the push notification payload to trayClickFocusedApp and trayClickLaunchedApp. This makes the logic to handle pushes *much* simpler!", "updateAuthor": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "created": "2014-11-25T12:55:59.000+0000", "updated": "2014-11-25T12:55:59.000+0000" }, { "id": "333606", "author": { "name": "Serfenia", "key": "serfenia", "displayName": "Patrick van Vuuren", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello Jason,\r\n\r\nCan you confirm it does not fire with Ti SDK 3.4.1?\r\nAlso if it works with Ti SDK 3.4.2, could you give me a link to a stable build of it?\r\n\r\nRegards,\r\nPatrick", "updateAuthor": { "name": "Serfenia", "key": "serfenia", "displayName": "Patrick van Vuuren", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-25T13:19:02.000+0000", "updated": "2014-11-25T13:25:48.000+0000" }, { "id": "333608", "author": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "body": "I just rebuilt with 3.4.1, and trayClickLaunchedApp *does* fire.\r\n\r\nI don't have a release version of 3.4.2, but I get builds here:\r\n\r\nhttp://builds.appcelerator.com.s3.amazonaws.com/index.html#3_4_X\r\n\r\nWe have been doing all our development and testing with a 3.4.2 continuous build. If it hasn't gone to GA when we're ready for our final QA, we may have to release our app with a continuous build. ", "updateAuthor": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "created": "2014-11-25T13:29:16.000+0000", "updated": "2014-11-25T13:29:16.000+0000" }, { "id": "333613", "author": { "name": "Serfenia", "key": "serfenia", "displayName": "Patrick van Vuuren", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Allright I have found the problem why it does not fire for me.\r\n\r\nI have the notification handling placed in a CommonJS module. I added the events for handling the trayClickLaunchedApp and trayClickFocusedApp and callback in that CommonJS module. The focus and callback just work, the launch does not.\r\n\r\nIf I place it inside my alloy.js, it works.\r\n\r\nI am not sure if it's supposed to do that, but at least I can get it working now.\r\n\r\nDevelopers, *Thanks Alot*", "updateAuthor": { "name": "Serfenia", "key": "serfenia", "displayName": "Patrick van Vuuren", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-25T13:57:28.000+0000", "updated": "2014-11-25T13:57:28.000+0000" }, { "id": "333617", "author": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "body": "Strange. Our push notification handling code is also inside a CommonJS module, and we're not having any trouble with it.\r\n\r\nI *have* seen weird things that don't work inside of CommonJS modules (notably around opening the app via a custom URL scheme and trying to access Ti.Android.currentActivity from within a CommonJS module).\r\n\r\nBut this one isn't giving us any problems.", "updateAuthor": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "created": "2014-11-25T14:09:38.000+0000", "updated": "2014-11-25T14:09:38.000+0000" }, { "id": "333911", "author": { "name": "shawnlan", "key": "shawnlan", "displayName": "Shawn Lan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "With SDK 3.4.1 I also got the following errors:\r\n\r\n[ERROR] : CloudpushModuleImplementation: (KrollRuntimeThread) [138,231] Problem parsing `acs-push-api-url`: java.net.MalformedURLException\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\r\nThe Push Notification seems working fine. Should I ignore the errors above?", "updateAuthor": { "name": "shawnlan", "key": "shawnlan", "displayName": "Shawn Lan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-26T19:47:02.000+0000", "updated": "2014-11-26T19:47:02.000+0000" }, { "id": "334367", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~shawnlan] The 1st error that you are seeing is important. \r\n\r\n[ERROR] : CloudpushModuleImplementation: (KrollRuntimeThread) [138,231] Problem parsing `acs-push-api-url`: java.net.MalformedURLException \r\n\r\nI am guessing you have a 'acs-push-api-url' property set in your tiapp.xml. Would you mind posting that property here?\r\n\r\n\r\nThe 2nd error can be safely ignored.\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.", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-02T19:05:24.000+0000", "updated": "2014-12-02T19:05:24.000+0000" }, { "id": "334376", "author": { "name": "shawnlan", "key": "shawnlan", "displayName": "Shawn Lan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "For the 1st error:\r\n\r\nno I didn't set 'acs-push-api-url' property in tiapp.xml. I have no idea where that comes from. The only properties I set in tiapp.xml regarding cloudpush are:\r\n\r\nacs-api-key-production\r\nacs-api-key-development\r\nacs-grouped-notification-message\r\n\r\nThe error isn't showing in previous SDKs. Should be something in 3.4.1.", "updateAuthor": { "name": "shawnlan", "key": "shawnlan", "displayName": "Shawn Lan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-02T19:33:21.000+0000", "updated": "2014-12-02T19:33:21.000+0000" }, { "id": "334406", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi [~shawnlan],\r\n\r\nIt turns out that error isn't a problem either. I have fixed it so that it will not be unnecessarily displayed like it is right now, and that will be in a future release. Thank you for the help.", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-02T22:24:11.000+0000", "updated": "2014-12-02T22:24:11.000+0000" }, { "id": "337900", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening ticket. I am seeing this new behavior with the latest 3.5.0 stack:\r\n\r\n||App State||singleCallback||trigger callback||trigger trayClickFocusedApp||trigger trayClickLaunchedApp||\r\n|*killed*|*true*|(+)|*NA*|(-)|\r\n|*killed*|*false*|(+)|*NA*|(-)|\r\n|foreground|true|(+)|NA|NA|\r\n|background|true|(+)|(+)|NA|\r\n|foreground|false|(+)|NA|NA|\r\n|background|false|(+)|(+)|NA|\r\n\r\nTested on:\r\n\r\nAppcelerator Studio, build: 3.4.1.201410281743\r\nSDK build: 3.5.0.v20141222103320\r\nti.cloud: 3.2.7\r\nti.cloudpush: 3.3.7\r\nCLI: 3.4.1\r\nAlloy: 1.5.1\r\nDevices: Samsung Galaxy S4 (4.4.2), Nexus 5 (5.0)\r\n\r\n", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-01-05T21:26:07.000+0000", "updated": "2015-01-05T21:26:07.000+0000" }, { "id": "337909", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Also, tried the above scenario (i.e. app is killed and singleCallback is set to true or false) with APS SDK 1.0.2 and *was not* able to reproduce the issue; both the onCallback and onLaunchedApp methods get called.", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-01-05T22:04:52.000+0000", "updated": "2015-01-05T22:04:52.000+0000" }, { "id": "337959", "author": { "name": "Serfenia", "key": "serfenia", "displayName": "Patrick van Vuuren", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hey Wilson,\r\n\r\nYe I noticed the same issue, currently I have an app in producten that has this issue. When the user kills the app through the multitask window, that app is launched but hangs on splash screen. \r\n\r\nThough, on Android 5 this does not seem the case.\r\n\r\nRegards, Patrick", "updateAuthor": { "name": "Serfenia", "key": "serfenia", "displayName": "Patrick van Vuuren", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-06T07:49:58.000+0000", "updated": "2015-01-06T07:49:58.000+0000" }, { "id": "338040", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-01-06T21:43:10.000+0000", "updated": "2015-01-06T21:43:10.000+0000" } ], "maxResults": 42, "total": 42, "startAt": 0 } } }