Is there any way to use Google Nearby Messages API to publish messages while the iOS application is in the background?
According to the Nearby Messages API documentation:
The publication is active as long as the publication object exists. To stop publishing, release the publication object.
I do not release the publication object but the app seems to stop publishing messages when it goes in the background (despite I have turned BLE and Audio background modes on).
Sorry, background operation is not yet supported by Nearby Messages on iOS. Currently it can only be in use by the foreground app.
Update: Nearby Messages on iOS now supports background mode for publications, subscriptions, and beacon scanning. See the Nearby Messages Developer Site and the CocoaPod for details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With