{ "id": "109438", "key": "TIMOB-12733", "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": "15931", "description": "2014 Sprint 05", "name": "2014 Sprint 05", "archived": true, "released": true, "releaseDate": "2014-03-14" }, { "id": "15932", "description": "2014 Sprint 05 API", "name": "2014 Sprint 05 API", "archived": true, "released": true, "releaseDate": "2014-03-14" }, { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" }, { "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-12T22:21:11.000+0000", "created": "2013-02-08T17:07:29.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-testadded", "supportTeam", "ti.map" ], "versions": [ { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [ { "id": "35511", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "121577", "key": "TIMOB-15613", "fields": { "summary": "iOS7: Ti.Map.View always asks for permission to use current location", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-03-29T00:07:49.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": "Create a default Alloy project, add a MapView and set userLocation to false (in the view, style or controller) and the app will still request permission for the users current location. ", "attachment": [ { "id": "35488", "filename": "mvptest.zip", "author": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "created": "2013-02-08T17:12:22.000+0000", "size": 5784244, "mimeType": "application/zip" } ], "flagged": false, "summary": "MapView always asks permission for users location even if userLocation is set to false", "creator": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "environment": "Alloy 0.3.6 (current) \r\nTiSDK 3.0.0.GA\r\niOS 7.0.3", "comment": { "comments": [ { "id": "237752", "author": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "body": "Alloy sample project attached", "updateAuthor": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "created": "2013-02-08T17:12:22.000+0000", "updated": "2013-02-08T17:12:22.000+0000" }, { "id": "237884", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Is this an Alloy-specific problem? Does this occur with traditional Titanium development? It seems unlikely that Alloy would be causing this, though it's not impossible. If you could narrow it down to Alloy specifically that would be helpful.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-09T01:35:05.000+0000", "updated": "2013-02-09T01:35:05.000+0000" }, { "id": "237930", "author": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "body": "Good point, Tony. I have reproduced this with traditional Titanium development. Literally brand new project and added a MapView with minimal settings: -\n\nvar map1 = Ti.Map.createView({\n\tuserLocation: false\n});\n\nwin1.add(map1);", "updateAuthor": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "created": "2013-02-11T08:15:36.000+0000", "updated": "2013-02-11T08:15:36.000+0000" }, { "id": "237962", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Assigning to Ingo so platform can take a look. \r\n\r\nAlso, can you add what version of iOS you are using, just so it can be easier to identify where the problem might be.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-11T14:22:03.000+0000", "updated": "2013-02-11T14:22:43.000+0000" }, { "id": "238529", "author": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "body": "It's version 6.1 of iOS.", "updateAuthor": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "created": "2013-02-14T11:03:09.000+0000", "updated": "2013-02-14T11:03:09.000+0000" }, { "id": "238548", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "If I remember correctly, it's platform default behaviour and it cannot be changed.", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2013-02-14T16:08:34.000+0000", "updated": "2013-02-14T16:08:34.000+0000" }, { "id": "239781", "author": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "body": "Ivan are you saying platform default for Titanium or native iOS because it seems that on native iOS it is possible to add a map that doesn't ask for permission for the user's location. ", "updateAuthor": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "created": "2013-02-26T10:26:15.000+0000", "updated": "2013-02-26T10:26:15.000+0000" }, { "id": "239783", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "I meant that was native iOS behaviour (I think I heard someone saying that and that there was similar bug somewhere). I'm really not sure if it's possible on iOS.", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2013-02-26T10:51:54.000+0000", "updated": "2013-02-26T10:51:54.000+0000" }, { "id": "295367", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending against master\r\nti.map - https://github.com/appcelerator-modules/ti.map/pull/34\r\ntitanium_mobile - https://github.com/appcelerator/titanium_mobile/pull/5410", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-03-03T22:29:21.000+0000", "updated": "2014-03-03T22:29:21.000+0000" }, { "id": "295380", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~egomez] This will appear in SDK 3.2.3.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-03T22:55:50.000+0000", "updated": "2014-03-03T22:55:50.000+0000" }, { "id": "296905", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "backport to 3_2_X\nhttps://github.com/appcelerator/titanium_mobile/pull/5464", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-03-12T22:24:29.000+0000", "updated": "2014-03-12T22:24:29.000+0000" }, { "id": "297068", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I used the default classic project and verified the vix.\nNo more permission asked for user location when event is set to false.\nAppcelerator Studio, build: 3.2.2.201403061827\nTitanium SDK, build: 3.2.3.v20140312170355\nCLI 3.2.1 GA\nDevices:\niPhone5S iOS 7.1\niPad Air iOS 7.1", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-13T18:53:30.000+0000", "updated": "2014-03-13T18:53:30.000+0000" }, { "id": "299240", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "tested\n{code}\nvar map = require(\"ti.map\");\nvar win = Titanium.UI.createWindow({\n backgroundColor: '#fff'\n});\n \nwin.add(map.createView({\n mapType: map.STANDARD_TYPE,\n region: {\n latitude: 37.390749,\n longitude: -122.081651,\n latitudeDelta: 0.01,\n longitudeDelta: 0.01\n },\n userLocation: false\n}));\n \nwin.open();\n{code}\nMac osx 10.9.2 Mavericks \nAppcelerator Studio, build: 3.2.3.201403271839 \nTitanium SDK, build:3.2.3.v20140327115429 \nNode.JS Version: v0.10.13 \nNPM Version: 1.3.2 \n/usr/local/lib \n├── acs@1.0.14 \n├── alloy@1.3.1 \n├── node-appc@0.2.0 \n├── npm@1.3.2 \n├── titanium@3.2.3-alpha2 \n└── titanium-code-processor@1.1.1-alpha \nDevices: \niPad air iOS 7.1 \niPhone 5S iOS 7.1", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-29T00:07:49.000+0000", "updated": "2014-03-29T00:07:49.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }