{ "id": "121597", "key": "TIMOB-15577", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15704", "description": "2013 Sprint 22 API", "name": "2013 Sprint 22 API", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-30T18:16:26.000+0000", "created": "2013-10-24T21:13:59.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_app", "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "32782", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "121331", "key": "TIMOB-15513", "fields": { "summary": "iOS7: Write data to file couldn't be completed in Ti.Filesystem.applicationSupportDirectory", "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": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-12-04T23:31:56.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h3. Description\r\nWhen the app goes to the background a screenshot of the current app state is taken. When the app resumes that screenshot is shown for a split of a second. This is to make a visual hint to the user that the app is still running where it was before going to the background. On iOS 7 that screenshot image is used also to display the app in the multitasking experience.\r\n\r\nh3. The problem:\r\nFor some customers this is a security concern, since that screenshot can reveal confidential app data, such as user back account numbers, usernames, private messages, etc...\r\n\r\nh3. New feature.\r\nA property will be exposed in the Ti.App module to avoid this from happening. The splash screen image of the app will be shown instead of a snapshot.\r\n{code}\r\nTi.App.forceSplashAsSnapshot = true;\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "iOS: Disallow snapshot of app appearing on app resume", "creator": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "276733", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/4847", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-25T04:02:00.000+0000", "updated": "2013-10-25T04:02:00.000+0000" }, { "id": "276997", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closed previos PR as not valid.\r\n\r\nNew PR: https://github.com/appcelerator/titanium_mobile/pull/4867\r\n\r\nSample code:\r\n{code}\r\nTi.App.forceSplashAsSnapshot = true;\r\nvar win = Titanium.UI.createWindow({\r\n orientationModes: [\r\n Titanium.UI.PORTRAIT,\r\n Titanium.UI.LANDSCAPE_LEFT,\r\n Titanium.UI.LANDSCAPE_RIGHT\r\n Titanium.UI.UPSIDE_PORTRAIT\r\n ],\r\n backgroundColor: 'green'\r\n});\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-28T17:50:22.000+0000", "updated": "2013-10-28T17:51:47.000+0000" }, { "id": "277383", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR https://github.com/appcelerator/titanium_mobile/pull/4867 merged", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-30T18:16:26.000+0000", "updated": "2013-10-30T18:16:26.000+0000" }, { "id": "277428", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified setting Ti.App.forceSplashAsSnapshot to true will display the splash screen when resuming an app. On iOS 7, the splash screen is displayed in the multitasking view.\n\nTested on:\n\nTitanium Studio, build: 3.2.0.201310301740\nSDK build: 3.2.0.v20131030150844\nXcode: 5.0\nDevice: iphone 4s (6.0.1), iphone 5s (7.0.2)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-30T22:59:48.000+0000", "updated": "2013-10-30T22:59:48.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }