Forum Archive

location services not allowed

cwittern

I am having a problem with a workflow in Editorial that accesses the location services. It runs fine in pythonista, but fails in Editorial. The problem seems to be that the app is not permitted to use it. When I check in the Settings / Privacy settings, indeed there is only one option for the Editorial permissions, which is "never".
So it seems the question is , how can I allow Editorial to access the location services?
Any help appreciated.
Chris

lukaskollmer

How do you access the location? Are you using objc_util or are you using the location module?

ccc

I don't think Editorial has cobj_util.

lukaskollmer

@ccc it's available in the beta

cwittern

I am using the location module. Actually I had this working a few iOS versions ago, but did not use it for a while and am now trying to reactivate it.
Cheers, Chris

lukaskollmer

Does editorial have access to location services enabled? You can check this in settings.

Settings -> Privacy -> Location Services -> Editorial

lukaskollmer

OK apparently the problem is that Editorial doesn't include some keys in the Info.plist file that sort required to access location info on iOS 9.

The missing keys are
- NSLocationWhenInUseUsageDescription
- NSLocationAlwaysUsageDescription

I don't think you'll be able to use the location module until @omz adds the missing keys

cwittern

Wow, thanks @lukaskollmer for getting to the bottom of this! Now I am hoping for a quick fix. Chris