Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25654] iOS: Duplicate tiapp key in Geolocation error logging

GitHub Issuen/a
TypeBug
PriorityLow
StatusResolved
ResolutionDuplicate
Resolution Date2018-02-01T14:38:23.000+0000
Affected Version/sRelease 7.0.0, Release 7.0.1
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterEwan Harris
AssigneeEwan Harris
Created2018-01-09T10:39:16.000+0000
Updated2018-02-01T14:39:29.000+0000

Description

kTiGeolocationUsageDescriptionAlwaysAndWhenInUse was logged twice, replaced it with kTiGeolocationUsageDescriptionWhenInUse

Steps to reproduce

- Add the code below to an app.js and build to iOS
Ti.Geolocation.requestLocationPermissions(Ti.Geolocation.AUTHORIZATION_ALWAYS, function(e) {
    console.log(e);
});

Expected

\[ERROR\] The NSLocationAlwaysUsageDescription, NSLocationWhenInUseUsageDescription and NSLocationAlwaysAndWhenInUseUsageDescription key must be defined in your tiapp.xml in order to request this permission. should be logged

Current

\[ERROR\] The NSLocationAlwaysAndWhenInUseUsageDescription, NSLocationAlwaysUsageDescription and NSLocationAlwaysAndWhenInUseUsageDescription key must be defined in your tiapp.xml in order to request this permission. is logged

Comments

  1. Ewan Harris 2018-01-09

    https://github.com/appcelerator/titanium_mobile/pull/9702

JSON Source