{ "id": "128477", "key": "TIMOB-16785", "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": "15935", "description": "2014 Sprint 06", "name": "2014 Sprint 06", "archived": true, "released": true, "releaseDate": "2014-03-28" }, { "id": "15938", "description": "2014 Sprint 06 Tooling", "name": "2014 Sprint 06 Tooling", "archived": true, "released": true, "releaseDate": "2014-03-28" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-03-29T01:02:47.000+0000", "created": "2014-03-28T22:46:22.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "APP-819423", "mobileweb", "qe-closed-3.3.0", "qe-testadded", "supportTeam" ], "versions": [ { "id": "15857", "description": "Release 3.2.2", "name": "Release 3.2.2", "archived": false, "released": true, "releaseDate": "2014-03-09" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-07-31T20:34:03.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "h6.Issue description\r\nRunning a MobileWeb app on an iOS device and send it to the home screen (\"Add to home screen\" option on Safari) gets a black bar on the top of the screen instead of the standard status bar of iOS.\r\n\r\nh6.Steps to replicate\r\nThis issue happens only if you launch a mobile web app.\r\n\r\n# Create New Mobile App Project (From Classic available templates choose HTML-Based Application). \r\n# Compile/build the app.\r\n# Access to it from Mobile Safari on an iPhone/iPad (it can be replicated on simulators also).\r\n# Press the \"Share\" button and then press \"Add to Home Screen\".\r\n# Using the app icon that was added to the home screen, launch the app.\r\n# Observe the status bar, it's completely black. \r\n\r\nAdding meta tags into \"Project/Resources/HTML/index.html\" for modify Status Bar appearance and App capability does not seem to work (look please at screenshots attached, for reference).\r\n\r\nh6.Specs quoted\r\n{quote} \r\nSet the apple-mobile-web-app-capable meta tag to yes to turn on standalone mode. For example, the following HTML displays web content using standalone mode.\r\n{quote}\r\n{code}\r\n\r\n\r\n{code}\r\n{quote}\r\nFor more on status bar appearance, see “apple-mobile-web-app-status-bar-style” in Safari HTML Reference.\r\n{quote}\r\n\r\n- https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html#//apple_ref/doc/uid/TP40002051-CH3-SW1", "attachment": [ { "id": "46957", "filename": "KS Demo.png", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-03-28T22:56:08.000+0000", "size": 28967, "mimeType": "image/png" }, { "id": "46956", "filename": "MobileWeb.png", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-03-28T22:56:08.000+0000", "size": 245761, "mimeType": "image/png" }, { "id": "47624", "filename": "statusbarishere.png", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-21T21:24:22.000+0000", "size": 1298605, "mimeType": "image/png" } ], "flagged": false, "summary": "MobileWeb: App not being able to change the Status Bar appearance", "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.2.2.GA\r\nTiCLI 3.2.1 ", "comment": { "comments": [ { "id": "299245", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Here's my findings:\n\n\"apple-mobile-web-app-status-bar-style\" can only be \"default\", \"black\", or \"black-translucent\". \"default\" and \"black\" are essentially the same thing.\n\nOn iOS 7 and newer, \"default\" renders a black bar with black text. \"black\" renders a black bar with white text. \"black-translucent\" will render a clear background with white text and the web app contents renders directly under the status bar text. This means we need to add 20 pixels of padding at the top. Also, there's no way to change the text color to anything other than white, so you'll want the background dark anyways. To make things worse, there's no way to say use the \"black-translucent\" for iOS 7 and \"default\" for iOS 6.\n\nSo, the best solution here is to replace \"default\" with \"black\". This way things will behave essentially the same across all iOS versions.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-03-29T00:52:31.000+0000", "updated": "2014-03-29T00:52:31.000+0000" }, { "id": "299247", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5555\n3_2_X_hybrid pull request: https://github.com/appcelerator/titanium_mobile/pull/5556", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-03-29T01:02:27.000+0000", "updated": "2014-03-29T01:02:27.000+0000" }, { "id": "301955", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested the fix with:\r\nAppcelerator Studio, build: 3.2.3.201404162038\r\nTitanium SDK, build 3.3.0.v20140418162516\r\nNode.JS Version: v0.10.13\r\nNPM Version: 1.3.2\r\n├── acs@1.0.14\r\n├── alloy@1.3.1\r\n├── node-appc@0.2.0\r\n├── npm@1.3.2\r\n├── titanium@3.2.3-beta2\r\n└── titanium-code-processor@1.1.1-beta1\r\nXCode Version: 5.1.1\r\nDevice:\r\niPhone 5S iOS 7.1", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-21T21:24:22.000+0000", "updated": "2014-04-21T21:25:04.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }