I've working on an app that uses the GlympseLite SDK, but it's only sending location updates when the app is in the foreground. I noticed that the first time the app is run, when a Glympse is about to be started, this notification is displayed, but only for a very short time:
Location Services Disabled
Please enable location settings through the device 'Settings > Privacy > Location'.
Settings shows that location services are turned on, and the app appears in the list with location access set to Always
.
I created a new app with just the Glympse functionality to rule out anything else, and I am presented with the same notification.
This is on an iPhone 6s, with iOS 9.3.1, but the issue also happens on simulated devices running other versions of iOS.
I've tried the sample apps provided with the SDK, and they seem to run in the background fine.
What am I missing?