Issue Description
The requestLocationPermissions function callback is not working.
Ti.Geolocation.requestLocationPermissions(Ti.Geolocation.AUTHORIZATION_WHEN_IN_USE
Expected behavior
The user should receive an alert with the response callback info.
Steps to reproduce
Create a new Alloy Project
Open the tiapp.xml file and add the next lines inside ios>plist>dict
<key>NSLocationWhenInUseUsageDescription</key>
<string>Testing Location in use </string>
Open app>controllers>index.js and add the next lines at the bottom:
Ti.Geolocation.requestLocationPermissions(Ti.Geolocation.AUTHORIZATION_WHEN_IN_USE, function(resp){
alert(JSON.stringify(resp));
});
Run the app.
Closing as duplicate