{ "id": "136275", "key": "TIMOB-17657", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-09-15T20:42:55.000+0000", "created": "2014-09-09T10:01:56.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios8", "qe-3.4.0" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-09-06T16:02:28.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": "A Map inside a webview does not load on iOS 8 device.\r\n\r\nThe issue does not occur on iOS 7.\r\n\r\nSteps to Reproduce:\r\n1. Run the app with the code below\r\n\r\nActual Result:\r\nThe Map contents do not load. It shows the zoom in and zoom out button but the map remains blank. Also it does not prompt for permissions to use location services, as it does on iOS 7.\r\n\r\nExpected Result:\r\nThe map on the webview should load successfully\r\n\r\n{code}\r\nvar _window = Ti.UI.createWindow({\r\n\ttop : '20dp',\r\n\twidth : Ti.UI.FILL,\r\n\theight : Ti.UI.FILL\r\n});\r\n\r\n_window.add(Ti.UI.createWebView({\r\n\twidth : Ti.UI.FILL,\r\n\theight : Ti.UI.FILL,\r\n\turl : 'http://leafletjs.com/examples/mobile-example.html'\r\n\t//url: 'https://maps.google.com'\r\n}));\r\n_window.open();\r\n{code} ", "attachment": [ { "id": "51263", "filename": "Screen Shot 2014-09-15 at 1.30.42 PM.png", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-15T20:34:55.000+0000", "size": 622313, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS8: Map in a webview does not load", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested On:\r\nSDK: 3.4.0.v20140908164913\r\nStudio: 3.4.0.201409032106\r\nCLI: 3.4.0-beta\r\nAlloy: 1.5.0-beta2\r\nXcode: Xcode 6 Beta7\r\nDevices: iPhone 5S (v8.0 beta5)", "closedSprints": [ { "id": 219, "state": "closed", "name": "2014 Sprint 19 SDK", "startDate": "2014-09-18T21:06:27.559Z", "endDate": "2014-09-27T00:00:00.000Z", "completeDate": "2014-09-29T13:58:58.022Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "322723", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ssekhri] I tried changing the url to the commented google maps. That works, and I got prompted for the permission with iOS 7 simulator. I tried hitting the leaflet.js map on my iPhone (iOS 7) with safari and it worked there. Perhaps there is something unique about their map implementation that is not working with our web view. I'll try the iOS 8 simulator to reproduce.\r\n", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-10T04:15:55.000+0000", "updated": "2014-09-10T04:16:50.000+0000" }, { "id": "323779", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested the above code with ti.map 2.0.3\r\nMac osx 10.9.4 Maverics\r\nAppcelerator Studio, build: 3.4.0.201409131030\r\nTitanium SDK, build: 3.4.0.v20140915103316\r\nacs@1.0.16\r\nalloy 1.5.0-rc2\r\ninstall@0.1.7\r\nnpm@1.4.23\r\nsudo@1.0.3\r\ntitanium 3.4.0-rc3\r\ntitanium-code-processor@1.1.1\r\nXcode6\r\nDevice: iPhone 5S iOS8\r\n\r\nPackaged the app for mobile web. Map loaded in device browser successfully after asking for permission. (screenshot)", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-15T20:33:32.000+0000", "updated": "2014-09-15T20:36:34.000+0000" }, { "id": "323784", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Marking as cannot reproduce based on latest tests.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-15T20:42:55.000+0000", "updated": "2014-09-15T20:42:55.000+0000" }, { "id": "395401", "author": { "name": "chris35", "key": "chris35", "displayName": "Christoph Eck", "active": true, "timeZone": "Europe/Berlin" }, "body": "*Hint*\r\nDoes only work if you request for permission before you open the webview. I.e.\r\n\r\n{code:javascript}\r\nvar _window = Ti.UI.createWindow({\r\n width : Ti.UI.FILL,\r\n height : Ti.UI.FILL,\r\n top : '20dp',\r\n});\r\n_window.add(Ti.UI.createWebView({\r\n width : Ti.UI.FILL,\r\n height : Ti.UI.FILL,\r\n url : 'https://maps.google.com'\r\n}));\r\n// in tiapp.xml set the correction permissions for iOS and Android too\r\nTi.Geolocation.requestLocationPermissions(Ti.Geolocation.AUTHORIZATION_ALWAYS, function(e) {\r\n if (e.success) {\r\n _window.open();\r\n return;\r\n } else {\r\n Ti.API.info('denied');\r\n return;\r\n }\r\n});\r\n{code}\r\n", "updateAuthor": { "name": "chris35", "key": "chris35", "displayName": "Christoph Eck", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-06T16:02:28.000+0000", "updated": "2016-09-06T16:02:28.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }