Titanium JIRA Archive
Appcelerator Community (AC)

[AC-432] NSLocationAlwaysUsageDescription or NSLocationWhenInUseUsageDescription doesn't get saved in iOS 8 Settings App automatically upon install

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionInvalid
Resolution Date2015-11-08T14:55:28.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labels3.4.0, SupportTeam, TitaniumStudio, api, feature, ios, ios8, iphone
ReporterJune Rockwell
AssigneeMotiur Rahman
Created2014-09-24T18:02:05.000+0000
Updated2015-11-08T14:55:28.000+0000

Description

I've tested out NSLocationAlwaysUsageDescription and NSLocationWhenInUseUsageDescription in the tiapp.xml. But they don't get saved automatically in the iOS 8 Settings app upon installation. So this makes the user have to go into the Settings App and indicate "Always" or "While Using" for the Location Services to be turned on my app. I don't think this is ideal because other apps from iOS like Siri have the location settings automatically set giving the users convenience.

Comments

  1. Rolf Dalhaug 2015-02-06

    I'm having this issue also. Added the code below to trap.xml but location services does not work?!.. Any Suggestions please?.. NSLocationAlwaysUsageDescription Show your position on Map and geofenced Points of Interest. By config SDK ver 3.5.0.GA Titanium Studio, build: 3.4.1.201410281727 (c) Copyright 2012-2014 by Appcelerator, Inc. All rights reserved. Build: jenkins-titanium-rcp-master-202 (origin/master) Date: 28 October 2014, 17:28:23

JSON Source