Open srikpunu opened 9 years ago
Thanks -- I knew I was forgetting something about that purpose property. I'll keep this issue open until I can clean that up.
Actually, if you look at the code (https://github.com/appcelerator/titanium_mobile/blob/master/iphone/Classes/GeolocationModule.m), that message is misleading. It says that you should use NSLocationUsageDescription for iOS6 and above, but it only uses the NSLocationAlwaysUsageDescription/NSLocationWhenInUseUsageDescription values when it is iOS8 or greater. For iOS6 and 7, you still need the purpose string.
I know this is not a major issue. Just for your FYI.. incase if you update in the future. you can consider this.
[WARN] : The Ti.Geolocation.purpose property is deprecated. On iOS6 and above include the NSLocationUsageDescription key in your Info.plist