GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-03-12T22:21:11.000+0000 |
Affected Version/s | Release 3.2.1 |
Fix Version/s | 2014 Sprint 05, 2014 Sprint 05 API, Release 3.2.3, Release 3.3.0 |
Components | iOS |
Labels | qe-testadded, supportTeam, ti.map |
Reporter | James Semple |
Assignee | Vishal Duggal |
Created | 2013-02-08T17:07:29.000+0000 |
Updated | 2014-03-29T00:07:49.000+0000 |
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.
Alloy sample project attached
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.
Good point, Tony. I have reproduced this with traditional Titanium development. Literally brand new project and added a MapView with minimal settings: - var map1 = Ti.Map.createView({ userLocation: false }); win1.add(map1);
Assigning to Ingo so platform can take a look. Also, can you add what version of iOS you are using, just so it can be easier to identify where the problem might be.
It's version 6.1 of iOS.
If I remember correctly, it's platform default behaviour and it cannot be changed.
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.
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.
Pull pending against master ti.map - https://github.com/appcelerator-modules/ti.map/pull/34 titanium_mobile - https://github.com/appcelerator/titanium_mobile/pull/5410
[~egomez] This will appear in SDK 3.2.3.
backport to 3_2_X https://github.com/appcelerator/titanium_mobile/pull/5464
I used the default classic project and verified the vix. No more permission asked for user location when event is set to false. Appcelerator Studio, build: 3.2.2.201403061827 Titanium SDK, build: 3.2.3.v20140312170355 CLI 3.2.1 GA Devices: iPhone5S iOS 7.1 iPad Air iOS 7.1
tested
Mac osx 10.9.2 Mavericks Appcelerator Studio, build: 3.2.3.201403271839 Titanium SDK, build:3.2.3.v20140327115429 Node.JS Version: v0.10.13 NPM Version: 1.3.2 /usr/local/lib ├── acs@1.0.14 ├── alloy@1.3.1 ├── node-appc@0.2.0 ├── npm@1.3.2 ├── titanium@3.2.3-alpha2 └── titanium-code-processor@1.1.1-alpha Devices: iPad air iOS 7.1 iPhone 5S iOS 7.1