Closed andrewmm closed 11 years ago
Quasi-resolved by allowing the user to specify a fixed location (1f5f08e) rather than always relying on the GPS. No longer has a milestone, but it'd still be good to get a fix for this.
Location authorization is now persistent (thanks to http://stackoverflow.com/questions/15572753/weeapp-ios-notification-center-widget-location-services-doesnt-save-permission/16452528?noredirect=1#16452528). Now just need to find a way to clear the authorization if the user wants to.
"To clear authorization status I'm removing from /var/root/Library/Caches/locationd/clients.plist everything about my application. In your case it's com.apple.springboard Then I'm killing locationd process to apply this changes, otherwise he will ignore them."
Handled in 1216ea886b5271fc5f34838b45861a2dd8e0c12a.
Now just need to test for a while to confirm that everything worked.
Nope, not quite working yet. Still displays the new alert repeatedly. Need to save the fact that we're authorized in the save file?
Resolved in 53f841f85666b3ca7fc380adac59ae6414def957.
Perhaps try running location requests through a daemon rather than directly in the widget?