I have an app that begins advertising as a peripheral once it enters a geo-fence. It seems to work just fine when the app is in the foreground, but when it is in the background and woken up, other phones never seem to discover it. I recieve peripheralManagerDidStartAdvertising without an error, but nothing seems to happen. When I open the app, I don't call any bluetooth related methods, but all of a sudden the other iPhone discovers it and is able to connect.
Is startAdvertising not allowed when the app is running in the background?