{ "id": "122101", "key": "TIMOB-15666", "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": [], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2013-11-12T21:10:38.000+0000", "created": "2013-11-05T18:38:15.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "3.2.1", "supportTeam", "triage" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-10T21:18:11.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": "h6.Issue description\r\nThe methods in app.js are being ran once in the sample application. The issue is that app.js is being run every time the Application is being brought to the foreground on Kindle. This does not happen on non-Kindle Android devices.\r\n\r\nWhen running the application on a kindle Fire HD, app.js is ran every time the application is brought to the foreground.\r\n\r\nh6.Steps to reproduce\r\nTo reproduce the APK application is referenced below. \r\n\r\nThis was not reproducible by using a Simpler Project (Default Titanium app created into Studio IDE).\r\n\r\n1) Install & Launch app (via URL provided below)\r\n2) Wait until load\r\n3) Quit via Home button\r\n4) Attempt to open once again - app may or not resume execution as per following test results:\r\n\r\nh6.Test results\r\nOnce we get to the log in screen, the app will load into it on restart, most of the time. Very rarely, we get an all black screen. If we rotate the device, the screen changes to an _AppC loading screen_ e.g. Screenshot_2013-11-27-09-11-44.png\r\n\r\nOne pic is the loading screen we see before rotating to get to the log in screen. The other is of the AppC load screen he sees after rotating the black screen.\r\n\r\nI am also including logs of first run of application, closing, and then reopening. According to the logs App.js is still being ran twice (Kindle_reopen.log).\r\n\r\nh6.Resources\r\nAPK: s496726614.onlinehome.mx/appc/11.25_Mybank.apk\r\nTiProject: https://www.dropbox.com/s/j0lloropyp07fm1/MB-Next-Gen-Tablet-TIMOB-15788.zip\r\n\r\nh6.Customer remarks\r\nHere is a link to the walkthrough video they talked about: https://dl.dropboxusercontent.com/u/53540948/APP-152567_Walkthrough.mov", "attachment": [ { "id": "43685", "filename": "AndroidBackgroundTest.zip", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-05T18:38:15.000+0000", "size": 758891, "mimeType": "application/zip" }, { "id": "43686", "filename": "Kind_Logs.txt", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-05T18:38:15.000+0000", "size": 12100, "mimeType": "text/plain" }, { "id": "44242", "filename": "Kindle_reopen.log", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-27T18:30:33.000+0000", "size": 65478, "mimeType": "text/plain" }, { "id": "44240", "filename": "Screenshot_2013-11-27-09-11-44.png", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-27T18:30:33.000+0000", "size": 125162, "mimeType": "image/png" }, { "id": "44241", "filename": "Screenshot_2013-11-27-09-12-20.png", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-27T18:30:33.000+0000", "size": 43194, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Kindle device will always run app.js when brought to foreground", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.1.3.GA\r\nFire OS 3.0", "comment": { "comments": [ { "id": "278359", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I just tried this with a first generation Kindle fire version 6.3.2 and I was unable to reproduce this. I put a log statement in the app.js, and it only runs once. Everytime I background the app, and come back, I don't see the log message inside app.js.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-06T02:30:25.000+0000", "updated": "2013-11-06T02:30:25.000+0000" }, { "id": "279212", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~ayeung],\r\n\r\nmFoundry have to reopen this report. They are no longer able to work around the issue by installing the application via the browser instead of adb.\r\n\r\nUpdated report details and added further information like test results and links to APK.\r\n\r\nIf I can help any other way, let me know.", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-12T21:10:38.000+0000", "updated": "2013-11-27T18:31:34.000+0000" }, { "id": "411360", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as it is not our bug.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-10T21:18:11.000+0000", "updated": "2017-03-10T21:18:11.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }