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
https://github.com/appcelerator/titanium_mobile/pull/9702